[PATCH] Fix fixincl extern inline glibc hacks

Bruce Korb bkorb@gnu.org
Sat Mar 24 18:52:00 GMT 2007

Jakub Jelinek wrote:
> Hi!
> glibc now defines __extern_inline and __extern_always_inline macros
> and uses them in installed headers when GNU89 extern inline semantics is
> needed, but current trunk gcc fixincludes still changes it even when
> it is not needed, which results in suboptimal code.
> Also, even when using older glibc headers, with gcc -std=gnu99 -fgnu89-inline
> extern inlines would be fixincluded out, while they can be used just fine.
> The following patch ought to fix it, ok for trunk?

Yummy.   Looks reasonable to me...

Yes, please.  Thank you - Bruce

More information about the Gcc-patches mailing list