]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc/
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Apr 2009 08:18:48 +0000 (08:18 +0000)
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Apr 2009 08:18:48 +0000 (08:18 +0000)
PR testsuite/39710
* opts.c (undocumented_msg): Do not leave blank even with
ENABLE_CHECKING.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146795 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/opts.c

index badad854614ab98ec99d699280b071f2a0679e89..7e6298dc9a47351e1d85d53aa0d99cb42a48bc80 100644 (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
index 8e382d558203ebcabcce2664567ae4a392a824fe..659c1050cf999714c4348c3d3165f3b64f4ec510 100644 (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.  */