summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-04-26 08:18:48 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2009-04-26 08:18:48 +0000
commite8f99a9d265e068c5748949970db24daf3a928b1 (patch)
tree70a83a86e2331e64d34e3b354877dd519a8772a1 /gcc/opts.c
parent30d17f46b5845c5e3bca6982858247926dcaa509 (diff)
downloadgcc-e8f99a9d265e068c5748949970db24daf3a928b1.tar.gz
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/opts.c')
-rw-r--r--gcc/opts.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 8e382d55820..659c1050cf9 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -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. */