Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / tree-ssa / 20030821-1.c
blob5de503ed64d78494f152766fe617a049411b7677
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom1 -fdump-tree-optimized" } */
4 void foo(int k)
6 int i = 1;
7 void *label;
9 label = k ? &&x : &&y;
11 if (k == 1)
12 goto *label;
14 i = 0;
15 goto z;
18 if (i)
19 dont_remove ();
20 y: ;
23 /* { dg-final { scan-tree-dump-times "dont_remove \\(\\)" 1 "optimized"} } */
25 /* We should have folded away the goto &x */
26 /* { dg-final { scan-tree-dump-times "goto &x" 0 "optimized"} } */
27 /* { dg-final { cleanup-tree-dump "optimized" } } */
28 /* { dg-final { cleanup-tree-dump "dom1" } } */