Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/20030814-2.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 42:
13 if (value != 42)
14 abort ();
15 case 50:
16 blah ();
17 }
18 }
19
20 /* There should be no IF conditionals. */
21 /* { dg-final { scan-tree-dump-times "if " 0 "dom2"} } */
22