Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-ccmp-3.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 else
9 goto L2;
10 L1:
11 if (b > 0)
12 goto L2;
13 return 5;
14 L2:
15 return 6;
16 }
17 /* { dg-final { scan-tree-dump "\|" "optimized" } } */