1 /* PR tree-optimization/98182 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 --param case-values-threshold=1 -fdump-tree-iftoswitch-optimized" } */
4 
5 int global;
6 int foo ();
7 
main(int argc,char ** argv)8 int main(int argc, char **argv)
9 {
10   if (argc != 1)
11     __builtin_abort ();
12   else if (argc != 2)
13     __builtin_abort ();
14   else
15     return 0;
16 }
17 
18 /* { dg-final { scan-tree-dump-not "Condition chain" "iftoswitch" } } */
19