1 /* PR optimization/12198
3 This was a miscompilation of a switch expressions because
4 the "Case Ranges" extension wasn't handled in tree-cfg.c. */
6 /* { dg-do compile } */
7 /* { dg-options "-O -fdump-tree-optimized" } */
9 extern void abort (void);
10 extern void exit (int);
28 /* The abort() call clearly is unreachable. */
29 /* { dg-final { scan-tree-dump-times "abort" 0 "optimized"} } */
30 /* { dg-final { cleanup-tree-dump "optimized" } } */