Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr57438-2.c @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
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* } } } } */