Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / loadpre4.c
blob6eaf690189204a4016d030844030b0205f53b2ad
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-pre-stats -fno-tree-loop-im" } */
3 int main(int *a, int argc)
5 int i;
6 int e;
8 for (i = 0; i < argc; i++)
10 e = *a;
11 *a = 9;
13 return e;
16 /* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre" } } */