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 applied: bootstrap/30678] sysmacros.h corrupted by Fixincludes


On 2/5/07, Bruce Korb <bkorb@gnu.org> wrote:
On 2/5/07, Richard Guenther <richard.guenther@gmail.com> wrote:
> It did fire.  I reverted the patch and this is the fixinclude result (attached).

OK.  Now I understand the problem.  It used to fire where it does not any more.
The correct fix, then, is:

select = '(^| )extern ';

to select an "extern" that either starts a line or is preceded by a space.
Thank you.

That works for me (bootstrapped on x86_64-unknown-linux-gnu, glibc 2.3.3 SLES9).


Thanks,
Richard.


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