blob: d29ec33e0f93d0d930ffa4dbf4c8696b867b1e15 [file] [log] [blame]
/* PR rtl-optimization/59166 */
/* { dg-additional-options "-fcompare-debug" } */
int a, b, c, f, g;
void
foo ()
{
for (; b; b++)
for (; f; f = g)
for (; a;)
;
}
static int
bar (int p)
{
short d;
if (c)
{
for (; f; f = g);
foo ();
d = p;
char e = d;
if (p)
return 1;
}
return p;
}
int
main ()
{
bar (0);
bar (g);
return 0;
}