Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/20030814-3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */
3
4 extern void abort (void);
5 extern void blah (void);
6
7 void
8 foo (int value)
9 {
10 switch (value)
11 {
12 case 40:
13 case 42:
14 if (value != 42)
15 abort ();
16 case 50:
17 blah ();
18 }
19 }
20
21 /* There should be one IF conditional. */
22 /* { dg-final { scan-tree-dump-times "if " 1 "dom2"} } */
23