tree-optimization/111233 - loop splitting miscompile
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr68067-2.c
blobe03bf227301a5a9893715e268ef778e5c93d4a1c
1 /* { dg-do run } */
2 /* { dg-require-effective-target int32plus } */
4 int main()
6 int a = -1;
7 static int b = -2147483647 - 1;
8 static int c = 0;
9 int t = a - (b + c*-2);
10 if (t != 2147483647)
11 __builtin_abort();
12 return 0;