aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr98182.c
blob: 29a547e378894ad3d51b8bd468fc7cb5946357ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR tree-optimization/98182 */
/* { dg-do compile } */
/* { dg-options "-O1 --param case-values-threshold=1 -fdump-tree-iftoswitch-optimized" } */

int global;
int foo ();

int main(int argc, char **argv)
{
  if (argc != 1)
    __builtin_abort ();
  else if (argc != 2)
    __builtin_abort ();
  else
    return 0;
}

/* { dg-final { scan-tree-dump-not "Condition chain" "iftoswitch" } } */