in_system_header and flags[1] before dereferencing flags[2].
From-SVN: r37361
+2000-11-09 Hans-Peter Nilsson <hp@axis.com>
+
+ * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
+ in_system_header and flags[1] before dereferencing flags[2].
+
2000-11-09 Matthew Hiller <hiller@redhat.com>
* reload1.c (reload_combine): Fixed calculation of
#ifndef NO_IMPLICIT_EXTERN_C
if (c_header_level)
++c_header_level;
- else if (flags[2] != 0)
+ else if (in_system_header && flags[1] != 0 && flags[2] != 0)
{
c_header_level = 1;
++pending_lang_change;