Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / tree-ssa / 20030714-2.c
blob42f3a38d0518e7782c4e98d7f4906896a40bf7a0
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
5 union tree_node;
6 typedef union tree_node *tree;
7 extern const char tree_code_type[];
8 struct tree_common
10 int code;
11 tree type;
13 struct tree_exp
15 tree operands[1];
17 union tree_node
19 struct tree_common common;
20 struct tree_exp exp;
22 long
23 get_alias_set (t)
24 tree t;
26 if (tree_code_type[t->common.code] != 't' && t->common.type == 0)
27 return 0;
28 if (tree_code_type[t->common.code] != 't')
30 while (t->exp.operands[0])
31 t = t->exp.operands[0];
35 /* There should be exactly three IF conditionals if we thread jumps
36 properly. */
37 /* { dg-final { scan-tree-dump-times "if " 3 "dom3"} } */
39 /* { dg-final { cleanup-tree-dump "dom3" } } */