timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead of ASSERT_CHECKING.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 6 May 2007 21:21:17 +0000 (21:21 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 6 May 2007 21:21:17 +0000 (21:21 +0000)
* timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead
of ASSERT_CHECKING.  Tweak message.

From-SVN: r124478

gcc/ChangeLog
gcc/timevar.c

index d703c48294d68babaa36f65f49c6651ca345f97d..7453266e8654e7e9f0c1b1e7d8fdfd4e2a110e47 100644 (file)
@@ -1,4 +1,9 @@
-2007-06-05  Revital Eres  <eres@il.ibm.com>
+2007-05-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead
+       of ASSERT_CHECKING.  Tweak message.
+
+2007-05-06  Revital Eres  <eres@il.ibm.com>
 
        PR 30957
        * loop-unroll.c (insert_var_expansion_initialization):
index 01cc880e595a7d626b4413294ec001c0d723570b..29142ab7d4e31adc40d1d1866871d5c72896ad6f 100644 (file)
@@ -483,10 +483,9 @@ timevar_print (FILE *fp)
   fprintf (fp, "Extra diagnostic checks enabled; compiler may run slowly.\n");
   fprintf (fp, "Configure with --enable-checking=release to disable checks.\n");
 #endif
-#ifndef ASSERT_CHECKING
-  fprintf (fp, "Assert checking was disable; if you do an official compiling\n");
-  fprintf (fp, "time testing please use --enable-checking=release instead of\n");
-  fprintf (fp, "--disable-checking.\n");
+#ifndef ENABLE_ASSERT_CHECKING
+  fprintf (fp, "Internal checks disabled; compiler is not suited for release.\n");
+  fprintf (fp, "Configure with --enable-checking=release to enable checks.\n");
 #endif
 
 #endif /* defined (HAVE_USER_TIME) || defined (HAVE_SYS_TIME)