Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-ifcombine-5.c
blobc16a0d9a94bd6104e9a920baf96921d4182125b8
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized-details-blocks" } */
4 /* Testcase from PR15353. */
6 int g(void);
7 int h(void);
8 int f(int *i, int *j)
10 while (1)
12 if (*i > *j || *i == *j)
13 break;
14 return g();
16 return h();
19 /* { dg-final { scan-tree-dump ">=" "optimized" } } */
20 /* { dg-final { scan-tree-dump-not "Invalid sum" "optimized" } } */