diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-04-26 08:18:48 +0000 |
---|---|---|
committer | Ralf Wildenhues <rwild@gcc.gnu.org> | 2009-04-26 08:18:48 +0000 |
commit | e8f99a9d265e068c5748949970db24daf3a928b1 (patch) | |
tree | 70a83a86e2331e64d34e3b354877dd519a8772a1 /gcc | |
parent | 30d17f46b5845c5e3bca6982858247926dcaa509 (diff) | |
download | gcc-e8f99a9d265e068c5748949970db24daf3a928b1.zip gcc-e8f99a9d265e068c5748949970db24daf3a928b1.tar.gz gcc-e8f99a9d265e068c5748949970db24daf3a928b1.tar.bz2 |
re PR testsuite/39710 (gcc.misc-tests/help.exp doesn't work when configured with --enable-checking=assert)
gcc/
PR testsuite/39710
* opts.c (undocumented_msg): Do not leave blank even with
ENABLE_CHECKING.
From-SVN: r146795
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/opts.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index badad85..7e6298d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-04-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + PR testsuite/39710 + * opts.c (undocumented_msg): Do not leave blank even with + ENABLE_CHECKING. + 2009-04-25 Joseph Myers <joseph@codesourcery.com> * c-decl.c (build_enumerator): Allow values folding to integer @@ -339,11 +339,7 @@ enum symbol_visibility default_visibility = VISIBILITY_DEFAULT; struct visibility_flags visibility_options; /* What to print when a switch has no documentation. */ -#ifdef ENABLE_CHECKING static const char undocumented_msg[] = N_("This switch lacks documentation"); -#else -static const char undocumented_msg[] = ""; -#endif /* Used for bookkeeping on whether user set these flags so -fprofile-use/-fprofile-generate does not use them. */ |