Fix bug in earlier GCC release

Johan Ekberg
Fri Nov 7 09:27:00 GMT 2008

Is it possible to get a bug fixed in GCC-4.2.3, which is already fixed
in the GCC-4.3.2?

The problem is related to the call to the
lang_hooks.tree_inlining.cannot_inline_tree_fn() in
inlinable_function_p() - tree-inline.c. The code in the hook causes an

I've been searching bugzilla for a patch but without any success.

In GCC-4.3.2 the hook is removed. But there seems to be a lot of
structural changes between GCC-4.2.3 and GCC-4.3.2, so just remove the
hook in GCC-4.2.3 is probably not a solid solution.


Johan Ekberg
Software Engineer

Skalholtsgatan 9,
Box 1033, SE-164 21 Kista, Sweden
Direct: +46 8 50 71 43 93
Mobile: +46 709 71 43 93
Enea - Embedded for Leaders


This message, including attachments, is CONFIDENTIAL. It may also be
privileged or otherwise protected by law. If you received this email by
mistake please let us know by reply and then delete it from your system;
you should not copy it or disclose its contents to anyone. All messages
sent to and from Enea may be monitored to ensure compliance with
internal policies and to protect our business. Emails are not secure and
cannot be guaranteed to be error free as they can be intercepted,
amended, lost or destroyed, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents of
this message, which arise as a result of e-mail transmission. Anyone who
communicates with us by email accepts these risks.


More information about the Gcc-help mailing list