------- Comment #2 from hubicka at gcc dot gnu dot org  2008-02-17 19:37 -------
I think this is feature.  If users explicitely declares as inline, then we do
that, otherwise we doesn't:
  /* Don't auto-inline anything that might not be bound within
     this unit of translation.  */
  else if (!DECL_DECLARED_INLINE_P (fn)
           && DECL_REPLACEABLE_P (fn))
    inlinable = false;
otherwise we won't inline much e.g. with -fpic.

Honza


-- 


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

Reply via email to