[Bug c/33763] [4.4/4.5/4.6/4.7 Regression] Bogus inlining failed in call to `xxx': redefined extern inline functions are not considered for inlining

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 12 14:51:00 GMT 2012


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

--- Comment #29 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-12 14:49:42 UTC ---
Btw, GCC 3.2.3 produces for

extern __inline __attribute__ ((__always_inline__))
void open ()
{
}
void open ()
{
  open ();
}

open:
        pushl   %ebp
        movl    %esp, %ebp
        call    open
        popl    %ebp
        ret

so it's "broken" as well.



More information about the Gcc-bugs mailing list