PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-ifcombine-5.c
blob88bd81e25964a30686593db16a1fb64df7cfcb63
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
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 { cleanup-tree-dump "optimized" } } */