This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: tests for --help
Ping <http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00823.html>
as fix of <http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00774.html>
* Ralf Wildenhues wrote on Fri, Apr 10, 2009 at 04:58:13PM CEST:
> 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. ?*/