Commit 982533a5 by Eric Botcazou

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
parent 74b332b8
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 PR 30957
* loop-unroll.c (insert_var_expansion_initialization): * loop-unroll.c (insert_var_expansion_initialization):
......
...@@ -483,10 +483,9 @@ timevar_print (FILE *fp) ...@@ -483,10 +483,9 @@ timevar_print (FILE *fp)
fprintf (fp, "Extra diagnostic checks enabled; compiler may run slowly.\n"); fprintf (fp, "Extra diagnostic checks enabled; compiler may run slowly.\n");
fprintf (fp, "Configure with --enable-checking=release to disable checks.\n"); fprintf (fp, "Configure with --enable-checking=release to disable checks.\n");
#endif #endif
#ifndef ASSERT_CHECKING #ifndef ENABLE_ASSERT_CHECKING
fprintf (fp, "Assert checking was disable; if you do an official compiling\n"); fprintf (fp, "Internal checks disabled; compiler is not suited for release.\n");
fprintf (fp, "time testing please use --enable-checking=release instead of\n"); fprintf (fp, "Configure with --enable-checking=release to enable checks.\n");
fprintf (fp, "--disable-checking.\n");
#endif #endif
#endif /* defined (HAVE_USER_TIME) || defined (HAVE_SYS_TIME) #endif /* defined (HAVE_USER_TIME) || defined (HAVE_SYS_TIME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment