* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp94.c
blob8edefb23d2f3dfa264459cae52a43e33f6c6e843
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 extern void abort (void);
6 int
7 foo1 (int x, int y)
9 int z;
11 if (x >= y)
12 return 1;
14 z = y - x;
15 if (z <= 0)
16 abort ();
18 return z;
21 unsigned int
22 foo2 (unsigned int x, unsigned int y)
24 unsigned int z;
26 if (x >= y)
27 return 1;
29 z = y - x;
30 if (z == 0)
31 abort ();
33 return z;
36 /* { dg-final { scan-tree-dump-not "abort" "optimized" } } */