This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA:] Correct handling of NO_IMPLICIT_EXTERN_C in c-lex.c:cb_enter_file
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Subject: Re: [RFA:] Correct handling of NO_IMPLICIT_EXTERN_C in c-lex.c:cb_enter_file
- From: Geoff Keating <geoffk at geoffk dot com>
- Date: 09 Nov 2000 18:50:25 -0800
- CC: gcc-patches at gcc dot gnu dot org
- References: <200011100117.CAA19177@ignucius.axis.se>
Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
> The fix seems pretty obvious, but I'll leave it to CPP hackers
> to judge that. Ok to commit anyway?
>
> * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
> in_system_header and flags[1] before dereferencing flags[2].
Yes, this is obviously OK.
--
- Geoffrey Keating <geoffk@geoffk.org>