aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/opts.c4
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
diff --git a/gcc/opts.c b/gcc/opts.c
index 8e382d5..659c105 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. */