* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr30364-2.c
blobd8b678d53c17480f036ddc9ff13a13b0f17ed048
1 /* { dg-do run } */
3 #include <limits.h>
4 extern void abort (void);
6 int f(unsigned int a, unsigned int b)
8 if (a > INT_MAX - 15) return 0;
9 if (b > INT_MAX - 15) return 0;
11 int c = (a - 20) + (b - 20);
12 return c > INT_MAX - 15;
15 int main()
17 if (f (INT_MAX - 15, 41) != 1)
18 abort ();
19 return 0;