Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-52.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre1" } */
3
4 void bar ();
5 void foo (int n)
6 {
7 if (n > 0)
8 {
9 int j = 0;
10 do
11 {
12 if (n > 0)
13 {
14 int i = 0;
15 do
16 {
17 bar ();
18 }
19 while (i < n);
20 }
21 }
22 while (j < n);
23 }
24 }
25
26 /* { dg-final { scan-tree-dump-times "if" 1 "fre1" } } */