diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-21 21:55:33 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-21 21:55:33 +0000 |
commit | f7b38b18bab44ea175cc3d7365b1af209e50af1f (patch) | |
tree | 297a4ed887c80eb2c2c50e3dbb56f4b4a6fc2f90 /gcc/timevar.c | |
parent | cae486e2e14ff0e3d0d4e78926d324ba1d8d2f1e (diff) | |
download | gcc-f7b38b18bab44ea175cc3d7365b1af209e50af1f.tar.gz |
2007-04-21 Andrew Pinski <andrew_pinski@playstation.sony.com>
* timevar.c (timevar_print): Change reference of --disable-checking to
--enable-checking=release. Also warn if assert checking is disabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124025 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/timevar.c')
-rw-r--r-- | gcc/timevar.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/timevar.c b/gcc/timevar.c index 09273841ff5..01cc880e595 100644 --- a/gcc/timevar.c +++ b/gcc/timevar.c @@ -481,7 +481,12 @@ timevar_print (FILE *fp) #ifdef ENABLE_CHECKING fprintf (fp, "Extra diagnostic checks enabled; compiler may run slowly.\n"); - fprintf (fp, "Configure with --disable-checking to disable checks.\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"); #endif #endif /* defined (HAVE_USER_TIME) || defined (HAVE_SYS_TIME) |