blob: c799e6ef23d1286ac732d0aae92382eec25e2af8 [file] [log] [blame]
/* { dg-lto-do link } */
/* { dg-lto-options { { -flto -O1 } } } */
double m;
int n;
__attribute__ ((optimize ("-funsafe-math-optimizations")))
void
bar (int x)
{
n = x;
m = n;
}
__attribute__ ((flatten))
void
foo (int x)
{
bar (x);
}
void
quux (void)
{
++n;
}
int
main (void)
{
foo (0);
quux ();
return 0;
}