Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/pr25224.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-options "-funswitch-loops" } */ /* { dg-require-effective-target indirect_jumps } */ /* { dg-require-effective-target label_values } */ static float rgam; extern void *jmp(void *); void drotmg(float d1) { void *labels[] = { &&L170, &&L180, 0 }; for(;;) { goto *jmp(labels); if (d1 <= rgam) goto L170; L170: if (d1 <= rgam) goto L170; } L180: goto L170; }