]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/20030711-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
6 typedef union tree_node
*tree
;
18 struct tree_type type
;
23 record_component_aliases (type
)
27 if (4 >= type
->type
.binfo
->vec
.length
)
31 const tree __t
= type
->type
.binfo
;
32 if (4 >= __t
->vec
.length
)
33 abort (); type
->type
.binfo
->vec
.a
[4];}
36 if (4 >= type
->type
.binfo
->vec
.length
)
42 /* The call to blah can not be eliminated. */
43 /* { dg-final { scan-tree-dump-times "blah \\(\\)" 1 "dom3" } } */
45 /* There should be four IF conditionals. */
46 /* { dg-final { scan-tree-dump-times "if " 4 "dom3"} } */
48 /* There should be two loads of type.binfo. */
49 /* { dg-final { scan-tree-dump-times "type\\.binfo" 2 "dom3"} } */
51 /* There should be four loads of vec.length. */
52 /* { dg-final { scan-tree-dump-times "vec.length" 4 "dom3"} } */