Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/pr118638.c

raw
1 /* PR rtl-optimization/118638 */
2
3 __attribute__((noipa)) int
4 foo (int x)
5 {
6 int a = x != -3, b, c;
7 a *= 3;
8 b = 2 * x - 9;
9 a = a + b;
10 a = ~a;
11 c = a & 1;
12 return -c;
13 }
14
15 int
16 main ()
17 {
18 if (foo (0) != -1)
19 __builtin_abort ();
20 }