This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51680] [4.7 Regression] g++ 4.7 fails to inline trivial template stuff
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Dec 2011 23:40:41 +0000
- Subject: [Bug tree-optimization/51680] [4.7 Regression] 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
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-12-30
Component|c++ |tree-optimization
Target Milestone|--- |4.7.0
Summary|g++ 4.7 fails to inline |[4.7 Regression] g++ 4.7
|trivial template stuff |fails to inline trivial
| |template stuff
Ever Confirmed|0 |1
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-30 23:40:41 UTC ---
not inlinable: void test(float)/1 -> void process_fun_at(const Fun&, T) [with
Fun = float(float); T = float]/2, function not declared inline and code size
would grow
Confirmed, GCC should have inlined this function. The patch which caused this
should not have changed this case.