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]

Re: [RFA:] Correct handling of NO_IMPLICIT_EXTERN_C in c-lex.c:cb_enter_file


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>

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