Debian Codegraph @

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

raw
1 /* PR target/118623 */
2
3 static int
4 foo (int x, int y)
5 {
6 int a = 1 << x;
7 if (y & a)
8 return 0;
9 return 5;
10 }
11
12 __attribute__((noipa)) void
13 bar (int x)
14 {
15 if (((foo (x - 50, x) + x + x) & 1) == 0)
16 __builtin_abort ();
17 }
18
19 int
20 main ()
21 {
22 bar (63);
23 }