summaryrefslogtreecommitdiff
path: root/gcc/timevar.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2007-05-06 21:21:17 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-05-06 21:21:17 +0000
commit982533a5b24488660e53ae55cfb4e036d84d31d8 (patch)
tree491e3c6ef8ca402fbc3d8111130a25e692c0587f /gcc/timevar.c
parent74b332b8a0f8965b3cd153a58dd25421127d7394 (diff)
timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead of ASSERT_CHECKING.
* timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead of ASSERT_CHECKING. Tweak message. From-SVN: r124478
Diffstat (limited to 'gcc/timevar.c')
-rw-r--r--gcc/timevar.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/timevar.c b/gcc/timevar.c
index 01cc880e595..29142ab7d4e 100644
--- a/gcc/timevar.c
+++ b/gcc/timevar.c
@@ -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)