Merge from trunk @ 138209
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030728-1.c
blob1ad2c63653c972865bcbd9933cb79227c92ffab4
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-final_cleanup" } */
5 union tree_node;
6 typedef union tree_node *tree;
8 enum tree_code
10 ARRAY_TYPE,
11 LAST_AND_UNUSED_TREE_CODE
14 struct tree_common
16 enum tree_code code:8;
23 union tree_node
25 struct tree_common common;
31 int
32 objects_must_conflict_p (t1, t2)
33 tree t1, t2;
36 if ((t1->common.code == ARRAY_TYPE) != (t2
37 && t2->common.code == ARRAY_TYPE))
38 return 11;
41 return foo (t2 ? get_alias_set (t2) : 0);
44 /* There should be two assignments of variables to the value zero. */
45 /* { dg-final { scan-tree-dump-times " = 0" 2 "final_cleanup"} } */
47 /* { dg-final { cleanup-tree-dump "final_cleanup" } } */