This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: tests for --help
* H.J. Lu wrote on Fri, Apr 10, 2009 at 03:29:09PM CEST:
> On Fri, Apr 10, 2009 at 12:28 AM, Ralf Wildenhues
> <Ralf.Wildenhues@gmx.de> wrote:
> > ? ? ? ?PR testsuite/39710
> > ? ? ? ?* opts.c (undocumented_msg): Do not leave blank even with
>
> ^^^^ without?
> > ? ? ? ?ENABLE_CHECKING.
Thanks. Updated ChangeLog entry below. Testing succeeded. OK to
commit?
Cheers,
Ralf
gcc/ChangeLog:
2009-04-10 ?Ralf Wildenhues ?<Ralf.Wildenhues@gmx.de>
PR testsuite/39710
* opts.c (undocumented_msg): Do not leave blank even without
ENABLE_CHECKING.
> > Index: gcc/opts.c
> > ===================================================================
> > --- gcc/opts.c ?(Revision 145850)
> > +++ gcc/opts.c ?(Arbeitskopie)
> > @@ -338,11 +338,7 @@
> > ?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. ?*/