1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */
4 extern void abort (void);
5 extern void blah (void);
8 typedef union tree_node
*tree
;
20 struct tree_type type
;
25 record_component_aliases (type
)
29 if (4 >= type
->type
.binfo
->vec
.length
)
33 const tree __t
= type
->type
.binfo
;
34 if (4 >= __t
->vec
.length
)
35 abort (); type
->type
.binfo
->vec
.a
[4];}
38 if (4 >= type
->type
.binfo
->vec
.length
)
44 /* The call to blah can not be eliminated. */
45 /* { dg-final { scan-tree-dump-times "blah \\(\\)" 1 "dom2" } } */
47 /* There should be three IF conditionals. */
48 /* { dg-final { scan-tree-dump-times "if " 3 "dom2"} } */
50 /* There should be two loads of type.binfo. */
51 /* { dg-final { scan-tree-dump-times "type\\.binfo" 2 "dom2"} } */
53 /* There should be three loads of vec.length. */
54 /* { dg-final { scan-tree-dump-times "vec.length" 3 "dom2"} } */