Merged r157653 through r157895 into branch.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / loadpre13.c
blob420ad7162bcfc9bc30589a295ba453be408084fa
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)
7 if (t[0])
8 t[0] = 2;
9 return g(t[0]);
12 /* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre"} } */
13 /* { dg-final { cleanup-tree-dump "pre" } } */