No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / tree-ssa / loop-14.c
blobff96e128bebe2b4800be882df7f077e8c789e569
1 /* A test for final value replacement. */
3 /* { dg-options "-O2 -fdump-tree-vars" } */
5 int foo(void);
7 int bla(void)
9 int i, j = foo ();
11 for (i = 0; i < 100; i++, j++)
12 foo ();
14 /* Should be replaced with return j0 + 100; */
15 return j;
18 /* { dg-final { scan-tree-dump-times "\\+ 100" 1 "vars" } } */
19 /* { dg-final { cleanup-tree-dump "vars" } } */