SDCC Home
News
Platforms
Download
Support
Who
Snapshots
Linux
Windows
Mac OS X
Documentation
Source
Documentation
SDCC Manual (html
/
pdf)
Test Suite (html
/
pdf)
CDB Format (html
/
pdf)
Anatomy of a Compiler - A Retargetable ANSI-C Compiler
SDCC at SourceForge
SDCC File Releases
SDCC Subversion Repository
SDCC Wiki
Links and More!
SDCC Metrics by Ohloh
SDCC Manual
8.1.3 Copy-Propagation
int f() {
int i, j;
i = 10;
j = i;
return j;
}
will be changed to
int f() {
int i, j;
i = 10;
j = 10;
return 10;
}
Note: the dead stores created by this copy propagation will be eliminated by dead-code elimination.
2008-03-13