diff options
author | Andrew Pinski <andrew_pinski@playstation.sony.com> | 2007-04-21 21:55:33 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2007-04-21 14:55:33 -0700 |
commit | 7be97ac71e94833c6c38bd6e1a151d06ba3a682e (patch) | |
tree | 297a4ed887c80eb2c2c50e3dbb56f4b4a6fc2f90 | |
parent | c8a0a219fda4028ee80aa310588652d66a070ff5 (diff) | |
download | gcc-7be97ac71e94833c6c38bd6e1a151d06ba3a682e.zip gcc-7be97ac71e94833c6c38bd6e1a151d06ba3a682e.tar.gz gcc-7be97ac71e94833c6c38bd6e1a151d06ba3a682e.tar.bz2 |
timevar.c (timevar_print): Change reference of --disable-checking to --enable-checking=release.
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.
From-SVN: r124025
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/timevar.c | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8f74ec8..19e47fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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. + +2007-04-21 Andrew Pinski <andrew_pinski@playstation.sony.com> + PR C/30265 * c-gimplifier.c (gimplify_compound_literal_expr): Mark the decl as addressable if the compound literal was marked as diff --git a/gcc/timevar.c b/gcc/timevar.c index 0927384..01cc880 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) |