Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr57438-2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile { target *-*-darwin* } } */ /* { dg-options "--param case-values-threshold=3 -O2" } */ /* { dg-additional-options "-funwind-tables" { target powerpc*-*-darwin* } } /* This is testing that a trailing local label is followed by a nop where required. */ int foo (int x) { switch (x) { case 0: return 10; case 3: return -1; case 5: return 29; default: __builtin_unreachable(); } } /* { dg-final { scan-assembler "nop\\nLFE.*" { target { *-*-darwin* } } } } */