OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-fre-22.c
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-fre" } */
3
4
int i;
5
int foo (void)
6
{
7
int j;
8
i = j;
9
return i;
10
}
11
12
/* We should eliminate the redundant load of i. */
13
14
/* { dg-final { scan-tree-dump-not "= i;" "fre" } } */
15
/* { dg-final { cleanup-tree-dump "fre" } } */