Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-ccmp-4.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -g -fdump-tree-optimized --param logical-op-non-short-circuit=1" } */
3
4 int t (int a, int b)
5 {
6 if (a > 0)
7 goto L1;
8 if (b > 0)
9 goto L2;
10 L1:
11 return 0;
12 L2:
13 return 1;
14 }
15 /* { dg-final { scan-tree-dump "\&" "optimized" } } */