]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-47.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-fre-47.c
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre1" } */
3
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" } } */