Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / tree-ssa / copy-headers.c
blob474633eab651696f9c97f2662791293a2e0986fa
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-ch-details" } */
4 extern int foo (int);
6 void bla (void)
8 int i, n = foo (0);
10 for (i = 0; i < n; i++)
11 foo (i);
14 /* There should be a header duplicated. */
15 /* { dg-final { scan-tree-dump-times "Duplicating header" 1 "ch"} } */
16 /* { dg-final { cleanup-tree-dump "ch" } } */