This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jan 2012 14:49:42 +0000
- Subject: [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
- Auto-submitted: auto-generated
- References: <bug-33763-4@http.gcc.gnu.org/bugzilla/>
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.