Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/switch-10.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-options "-O2 -fdump-tree-cfg" } */ #include <stdint.h> void foo (void); void bar (void); void test (uint8_t ch) { switch (ch) { case 0: foo (); break; case 1 ... 255: bar (); break; } } /* Switch statement is converted to GIMPLE condition. */ /* { dg-final { scan-tree-dump-not "switch" "cfg" } } */