Debian Codegraph @

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

raw
1 /* PR rtl-optimization/47299 */
2
3 extern void abort (void);
4
5 __attribute__ ((noinline, noclone)) unsigned short
6 foo (unsigned char x)
7 {
8 return x * 255;
9 }
10
11 int
12 main ()
13 {
14 if (foo (0x40) != 0x3fc0)
15 abort ();
16 return 0;
17 }