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

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