This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix fixincl extern inline glibc hacks


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]