Debian Codegraph @

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

raw
1 /* PR target/98681 */
2
3 __attribute__((noipa)) int
4 foo (int x)
5 {
6 if (x > 32)
7 return (x << -64) & 255;
8 else
9 return x;
10 }
11
12 int
13 main ()
14 {
15 if (foo (32) != 32 || foo (-150) != -150)
16 __builtin_abort ();
17 return 0;
18 }