blob: e11b7b0fc1f189b738db83f7aa3043996528a5ce [file] [log] [blame]
/* Verify that the scheduler does not discard the lexical block. */
/* { dg-do compile } */
/* { dg-options "-dA" } */
/* { dg-final { scan-assembler "xyzzy" } } */
long foo(long p)
{
if (1)
{
long xyzzy = 0;
if (p)
xyzzy = 2;
return xyzzy;
}
else
{
int x = 0;
return x;
}
}