tree-optimization/111233 - loop splitting miscompile
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr80281.c
blob1198e231303f805715e59cdeef48e77326b5931a
1 /* { dg-do run } */
2 /* { dg-require-effective-target int32plus } */
4 int
5 main ()
7 volatile int a = 0;
8 long long b = 2147483648LL;
9 int c = a % 2;
10 int x = ((int) -b + c) % -2147483647;
11 if (x != -1)
12 __builtin_abort ();
13 return 0;