This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
LTO and Code Compaction \ Reverse Inlining \ Procedure Abstraction?
- From: "Miguel Angel" <miguel55angel at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Cc: miguel55angel at hotmail dot com
- Date: Sat, 15 Jul 2006 22:29:32 +0000
- Subject: LTO and Code Compaction \ Reverse Inlining \ Procedure Abstraction?
- Bcc:
Hello!
I have a VERY simple example:
int f1 (int i) {i = (i-7)/9+3; return i;}
int f2 (int i) {i = (i-7)/9+3; return i;}
It could be reduced to:
int f1 (int i) {i = (i-7)/9+3; return i;}
int f2 (int i) {return f1 (i);}
Are there any ideas on how and where to add a target and language
independent code compaction pass into gcc?
Miguel
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/