This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix fixincl extern inline glibc hacks
- From: Bruce Korb <bkorb at gnu dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 24 Mar 2007 10:47:28 -0700
- Subject: Re: [PATCH] Fix fixincl extern inline glibc hacks
- References: <20070321180201.GF355@devserv.devel.redhat.com>
- Reply-to: bkorb at gnu dot org
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