1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
5 typedef struct die_struct
*dw_die_ref
;
6 typedef struct dw_loc_list_struct
*dw_loc_list_ref
;
11 typedef struct dw_val_struct
13 enum dw_val_class val_class
;
14 union dw_val_struct_union
16 dw_loc_list_ref val_loc_list
;
21 typedef struct dw_attr_struct
*dw_attr_ref
;
22 typedef struct dw_attr_struct
24 dw_val_node dw_attr_val
;
28 extern __inline__
enum dw_val_class
32 return a
->dw_attr_val
.val_class
;
35 extern __inline__ dw_loc_list_ref
39 if (AT_class (a
) == dw_val_class_loc_list
)
40 return a
->dw_attr_val
.v
.val_loc_list
;
44 output_location_lists (die
)
49 if (AT_class (d_attr
) == dw_val_class_loc_list
)
50 output_loc_list (AT_loc_list (d_attr
));
53 /* There should be exactly one IF conditional, in output_location_lists. */
54 /* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */
55 /* { dg-final { cleanup-tree-dump "dom3" } } */