timevar.c (timevar_print): Mention when checking is enabled.
authorDaniel Berlin <dberlin@dberlin.org>
Thu, 29 Jan 2004 05:31:47 +0000 (05:31 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Thu, 29 Jan 2004 05:31:47 +0000 (05:31 +0000)
2004-01-28  Daniel Berlin  <dberlin@dberlin.org>

* timevar.c (timevar_print): Mention when checking is enabled.

From-SVN: r76848

gcc/ChangeLog
gcc/timevar.c

index f3bff56d2faf7977b1187eae40e5078662c19893..5bd0cad50d71c96738faa54b953091a7b06e7e4c 100644 (file)
@@ -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...
index 9746488c649ba4322cd115f17dcb8555e016ef75..2597177f7634ba446a1981386f4051e396fa11c2 100644 (file)
@@ -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) */
 }