1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
4 extern void abort (void);
6 typedef union tree_node
*tree
;
18 struct tree_type type
;
22 record_component_aliases (type
)
25 if (type
->type
.binfo
->vec
.length
)
29 const tree __z
= type
->type
.binfo
;
30 if (type
->type
.binfo
->vec
.length
)
32 type
->type
.binfo
->vec
.a
[4];}
35 if (4 >= type
->type
.binfo
->vec
.length
)
41 /* The call to blah should have been eliminated. If the call is not
42 eliminated, then dominator optimizations failed and it'll be
43 impossible to delete other unnecessary code. */
44 /* { dg-final { scan-tree-dump-not "blah \\(\\)" "dom3" } } */
46 /* There should be two IF conditionals. */
47 /* { dg-final { scan-tree-dump-times "if " 2 "dom3"} } */
49 /* There should be a single load of type.binfo. */
50 /* { dg-final { scan-tree-dump-times "type\\.binfo" 1 "dom3"} } */
52 /* There should be two loads of vec.length. */
53 /* { dg-final { scan-tree-dump-times "vec.length" 2 "dom3"} } */
55 /* { dg-final { cleanup-tree-dump "dom3" } } */