debug-1.c   [plain text]


/* Verify that the scheduler does not discard the lexical block.  */
/* { dg-do compile } */
/* { dg-options "-dA" } */
/* APPLE LOCAL xfail for Apple only, serena */
/* { dg-final { scan-assembler "xyzzy" { xfail *-apple-darwin* } } } */

long foo(long p)
{
  {
    long xyzzy = 0;
    if (p)
      xyzzy = 2;
    return xyzzy;
  }
}