1 /* { dg-do compile } */ 2 /* { dg-options "-O -fdump-tree-fre1" } */ 3 foo(int i)4 int foo (int i) 5 { 6 if (i) 7 { 8 if (i) 9 return 0; 10 else 11 return 1; 12 } 13 return 0; 14 } 15 16 /* { dg-final { scan-tree-dump "return 0;" "fre1" } } */ 17