Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr114203.c

raw
1 /* { dg-do run } */
2
3 int __attribute__((noipa))
4 foo (unsigned char b)
5 {
6 int c = 0;
7
8 while (b) {
9 b >>= 1;
10 c++;
11 }
12
13 return c;
14 }
15
16 int main()
17 {
18 if (foo(0) != 0)
19 __builtin_abort ();
20 return 0;
21 }