From: Neil Booth Date: Wed, 11 Apr 2001 19:28:23 +0000 (+0000) Subject: * cpplib.c (do_line): Sanity check iff enable checking. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f5bf149f227198c523c682cb16052ac90ed54b4;p=gcc.git * cpplib.c (do_line): Sanity check iff enable checking. From-SVN: r41265 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 57aa8ee8a60..12198f23542 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-04-11 Neil Booth + + * cpplib.c (do_line): Sanity check iff enable checking. + 2001-04-11 Richard Henderson * Makefile.in (insn-recog.o): Depend on toplev.h. diff --git a/gcc/cpplib.c b/gcc/cpplib.c index bf1a3b07908..057bdf4ccae 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -774,6 +774,7 @@ do_line (pfile) { cpp_pop_buffer (pfile); buffer = pfile->buffer; +#ifdef ENABLE_CHECKING if (strcmp (buffer->nominal_fname, fname)) cpp_warning (pfile, "expected to return to file \"%s\"", buffer->nominal_fname); @@ -783,6 +784,7 @@ do_line (pfile) if (buffer->sysp != sysp) cpp_warning (pfile, "header flags for \"%s\" have changed", buffer->nominal_fname); +#endif } } buffer->sysp = sysp;