aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/timevar.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f3bff56..5bd0cad 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-28 Daniel Berlin <dberlin@dberlin.org>
+
+ * timevar.c (timevar_print): Mention when checking is enabled.
+
2004-01-28 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* c-lex.c (c_lex): Rename to...
diff --git a/gcc/timevar.c b/gcc/timevar.c
index 9746488..2597177 100644
--- a/gcc/timevar.c
+++ b/gcc/timevar.c
@@ -498,6 +498,11 @@ timevar_print (FILE *fp)
fprintf (fp, "%7.2f\n", total->wall);
#endif
+#ifdef ENABLE_CHECKING
+ fprintf (fp, "Extra diagnostic checks enabled; compiler may run slowly.\n");
+ fprintf (fp, "Configure with --disable-checking to disable checks.\n");
+#endif
+
#endif /* defined (HAVE_USER_TIME) || defined (HAVE_SYS_TIME)
|| defined (HAVE_WALL_TIME) */
}