Debian Codegraph @

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

raw
1 /* PR tree-optimization/99079 */
2
3 __attribute__((noipa)) unsigned long long
4 foo (int x)
5 {
6 unsigned long long s = 1 << x;
7 return 4897637220ULL % s;
8 }
9
10 int
11 main ()
12 {
13 if (__SIZEOF_INT__ * __CHAR_BIT__ != 32)
14 return 0;
15 if (foo (31) != 4897637220ULL)
16 __builtin_abort ();
17 return 0;
18 }