OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / loadpre13.c
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"} } */
13 /* { dg-final { cleanup-tree-dump "pre" } } */