[PATCH] remove duplicate inline parameter calculation

Dirk Mueller dmueller@suse.de
Wed May 30 00:43:00 GMT 2007


I've noticed that inlining parameter calculation is expensive, and done 3 
times where at most twice is enough. From discussion with Honza on IRC we've 
determined that this is an accidental left-over. 

The patch below gives ~ 1% performance gain. regtested on x86_64-suse-linux 
with default languages (mainline from just before the libtool breakage). 



-------------- next part --------------
A non-text attachment was scrubbed...
Name: cgraph-duplicated-inline.diff
Type: text/x-diff
Size: 1145 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070530/958686f6/attachment.bin>

More information about the Gcc-patches mailing list