rt_gccstream/gcc/testsuite/gcc.c-torture/compile/20020605-1.c

18 lines
241 B
C

/* This testcase caused on IA-32 -O2 endless loop in
merge_blocks when trying to merge a basic block
with itself. */
void f (void)
{
char *c;
do
{
if (c)
break;
}
while (1);
if (!c)
while (1)
f ();
}