------- Comment #2 from rguenth at gcc dot gnu dot org  2007-02-21 12:33 -------
This is not a bug with inlining but at most with the cost function(s).  Use
-fdump-ipa-inline to follow the reasoning:


Deciding on inlining.  Starting with 10 insns.

Inlining always_inline functions:

Deciding on smaller functions:

Deciding on functions called once:

Inlined 2 calls, eliminated 1 functions, 10 insns turned to 10 insns.


so it believes code size is unchanged by inlining the function twice and
removing the now unneeded out-of-line copy.


-- 


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

Reply via email to