blob: 8ac609309b20ac6f4d77cbfbfe5dcaf3fe5a6b56 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-fre1" } */
int i;
int foo (void)
{
int j;
i = j;
return i;
}
/* We should eliminate the redundant load of i. */
/* { dg-final { scan-tree-dump-not "= i;" "fre1" } } */