This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33763] [4.1/4.2/4.3 Regression] Bogus inlining failed in call to `xxx': redefined extern inline functions are not considered for inlining
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Oct 2007 21:10:52 -0000
- Subject: [Bug tree-optimization/33763] [4.1/4.2/4.3 Regression] Bogus inlining failed in call to `xxx': redefined extern inline functions are not considered for inlining
- References: <bug-33763-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2007-10-14 21:10 -------
At least for gcc-4_1-branch and gcc-4_2-branch your patch is IMHO the best
thing we can do. I agree that with cgraph it shouldn't be very hard to
actually
register two bodies, one for extern inline fn and one for the real definition,
but am not sure if such changes are appropriate this late in 4.3 development,
so
perhaps it should be applied also for 4.3 and early in 4.4 we should come up
with the real fixes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763