This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51680] g++ 4.7 fails to inline trivial template stuff
- From: "marc.glisse at normalesup dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Dec 2011 13:44:16 +0000
- Subject: [Bug c++/51680] g++ 4.7 fails to inline trivial template stuff
- Auto-submitted: auto-generated
- References: <bug-51680-4@http.gcc.gnu.org/bugzilla/>
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.