1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */
4 extern void abort (void);
7 typedef union tree_node *tree;
19 struct tree_type type;
24 record_component_aliases (type)
28 if (4 >= type->type.binfo->vec.length)
32 const tree __t = type->type.binfo;
33 if (4 >= __t->vec.length)
34 abort (); type->type.binfo->vec.a[4];}
37 if (4 >= type->type.binfo->vec.length)
43 /* The call to blah can not be eliminated. */
44 /* { dg-final { scan-tree-dump-times "blah \\(\\)" 1 "dom2" } } */
46 /* There should be four IF conditionals. */
47 /* { dg-final { scan-tree-dump-times "if " 4 "dom2"} } */
49 /* There should be two loads of type.binfo. */
50 /* { dg-final { scan-tree-dump-times "type\\.binfo" 2 "dom2"} } */
52 /* There should be four loads of vec.length. */
53 /* { dg-final { scan-tree-dump-times "vec.length" 4 "dom2"} } */
55 /* { dg-final { cleanup-tree-dump "dom2" } } */