http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47000

--- Comment #20 from Jeff Garzik <jgarzik at pobox dot com> 2010-12-18 21:25:46 
UTC ---
(In reply to comment #16)
> I don't think it is a good idea to change inliner heuristics in 4.5 at this
> point.  If it is always a good idea to inline that function, it should be
> __attribute__((always_inline)).

I confirm that replacing 'inline' with '__attribute__((always_inline))' also
resolves the regression.

It is a bit disappointing to leave such a major performance diff (-26%!) in
latest stable compiler release without resolution (if the decision is to leave
the inliner alone).

Reply via email to