Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-fre-40.c
blobdd085a0877029ee88e4fda38f4f7b9e1a8d14509
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre1" } */
4 int x;
5 int foo (int *p)
7 x = 0;
8 if (x)
9 *p = 1;
10 return x;
13 /* The final load of x should be replaced as well as the
14 aliasing store via *p is not reachable. */
16 /* { dg-final { scan-tree-dump-not "= x;" "fre1" } } */