1  /* { dg-do compile } */
       2  /* { dg-options "-O -fdump-tree-fre1" } */
       3  
       4  int i;
       5  int foo (void)
       6  {
       7    int j;
       8    i = j;
       9    return i;
      10  }
      11  
      12  /* We should eliminate the redundant load of i.  */
      13  
      14  /* { dg-final { scan-tree-dump-not "= i;" "fre1" } } */