* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / merge_block.c
blob5da5ddff6a0073251cc43e0da91d382b1fdb162b
2 /* { dg-options "-O2 -fno-ipa-pure-const -fdump-tree-optimized-blocks-details -fno-early-inlining" } */
3 int a[8];
4 int t()
6 int i;
7 for (i = 0; i < 3; i++)
8 if (a[i])
9 break;
10 return i;
12 int
13 main ()
15 int i;
16 /* The loop will be optimized away after ipa-inline. */
17 for (i = 0; i < 1000000; i++)
18 t ();
19 return 0;
21 /* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized"} } */