Debian Codegraph @

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

raw
1 /* PR tree-optimization/109778 */
2
3 int a, b, c, d, *e = &c;
4
5 static inline unsigned
6 foo (unsigned char x)
7 {
8 x = 1 | x << 1;
9 x = x >> 4 | x << 4;
10 return x;
11 }
12
13 static inline void
14 bar (unsigned x)
15 {
16 *e = 8 > foo (x + 86) - 86;
17 }
18
19 int
20 main ()
21 {
22 d = a && b;
23 bar (d + 4);
24 if (c != 1)
25 __builtin_abort ();
26 }