OSDN Git Service

PR middle-end/20256
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030814-3.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
3     
4 extern void abort (void);
5
6 void
7 foo (int value)
8 {
9   switch (value)
10     {
11     case 40:
12     case 42:
13               if (value != 42)
14                 abort ();
15     case 50:
16       blah ();
17     }
18 }
19
20 /* There should be one IF conditional.  */
21 /* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */
22  
23 /* { dg-final { cleanup-tree-dump "dom3" } } */