Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/loadpre13.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-pre-stats" } */
3 int t[2];
4 int g(int);
5 int f(int tt)
6 {
7 if (t[0])
8 t[0] = 2;
9 return g(t[0]);
10 }
11
12 /* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre"} } */