Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr122537.c

raw
1 /* { dg-do run } */
2 /* { dg-additional-options "-fwrapv" } */
3
4 void abort ();
5 int a, b;
6 int main()
7 {
8 int c = 61;
9 int d = 61;
10 c += 8;
11 while (c + a - 80 >= d + a - 80) {
12 c -= d;
13 b++;
14 }
15 if (b != 1)
16 abort ();
17 return 0;
18 }