Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-ccmp-2.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 L1;
10 return 0;
11 L1:
12 return 1;
13 }
14 /* { dg-final { scan-tree-dump "\|" "optimized" } } */