diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-11 19:28:23 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-11 19:28:23 +0000 |
commit | d6216faceb0a70f8bb36ee7d3bc973e9485346d0 (patch) | |
tree | 699bf5e3ec5f788c69c8f115a6939c4d91aef65a /gcc/cpplib.c | |
parent | d2fb1cd54be79305cc99ec8981f6da739ec5348e (diff) | |
download | gcc-d6216faceb0a70f8bb36ee7d3bc973e9485346d0.tar.gz |
* cpplib.c (do_line): Sanity check iff enable checking.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41265 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |