[Bug c++/51680] g++ 4.7 fails to inline trivial template stuff
marc.glisse at normalesup dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 28 15:53:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51680
Marc Glisse <marc.glisse at normalesup dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marc.glisse at normalesup
| |dot org
--- Comment #7 from Marc Glisse <marc.glisse at normalesup dot org> 2011-12-28 13:44:16 UTC ---
With g++-4.6, -O1 -finline-small-functions already inlines everything, so maybe
the definition of "small" somehow changed a bit? g++-4.7 -fdump-ipa-all says
that it doesn't inline because "function not declared inline and code size
would grow". g++-4.6 only tells me that the code size was unchanged by inlining
the 2 calls.
More information about the Gcc-bugs
mailing list