[Bug tree-optimization/51680] [4.7 Regression] g++ 4.7 fails to inline trivial template stuff
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 30 23:43:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list