diff options
author | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-26 08:18:48 +0000 |
---|---|---|
committer | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-26 08:18:48 +0000 |
commit | b099e703ba03650a18a79097b95cf2a1a0a9ffcb (patch) | |
tree | 70a83a86e2331e64d34e3b354877dd519a8772a1 | |
parent | 63fb44ba754b8f0ef3f4228fd8122ff4712e1f92 (diff) | |
download | gcc-b099e703ba03650a18a79097b95cf2a1a0a9ffcb.tar.gz |
gcc/
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
-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 badad854614..7e6298dc9a4 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 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. */ |