rt_gccstream/gcc/testsuite/gcc.c-torture/compile/pr25224.c

21 lines
293 B
C

/* { dg-options "-funswitch-loops" } */
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;
}