aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index bf1a3b0..057bdf4c 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;