Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / loadpre24.c
blob56e4279049c31c94b8ecd565bb1ed6d887d95654
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-pre-stats -fno-tree-loop-im" } */
4 int a;
6 int foo(int argc)
8 int i;
9 int e;
11 for (i = 0; i < argc; i++)
13 e = a;
14 a = 9;
16 return e;
19 /* We will move the load of a out of the loop. */
21 /* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre" } } */