Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr38807.c

raw
1 /* PR tree-optimization/38807 */
2
3 int
4 baz (short x)
5 {
6 return x;
7 }
8
9 int a, b;
10
11 int
12 bar (int x)
13 {
14 if (baz (a ^ x ^ a))
15 return b;
16 return 0;
17 }
18
19 int
20 foo (void)
21 {
22 return bar (a == 0 || 1 == 1 - a) ? 1 : bar (1 && a);
23 }