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
This commit is contained in:
Ralf Wildenhues 2009-04-26 08:18:48 +00:00 committed by Ralf Wildenhues
parent 30d17f46b5
commit e8f99a9d26
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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. */