aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-ccmp-1.c
blob: a550d00fd22bc3d18aa8c999b7ffb409a2ea72ce (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O2 -g -fdump-tree-optimized --param logical-op-non-short-circuit=1" } */

int t (int a, int b)
{
  if (a > 0)
    if (b > 0)
      return 0;
  return 1;
}
/* { dg-final { scan-tree-dump "\&" "optimized" } } */