This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR middle-end/37805: --help=...,joined,undocumented


Even if the P2 count is already < 100, you can lower it even further
with this: ping <http://gcc.gnu.org/ml/gcc-patches/2009-03/msg00318.html>
;-)

* Ralf Wildenhues wrote on Thu, Mar 05, 2009 at 10:20:00PM CET:
> 
> Next try.  When the user passes more than one of the qualifiers
>   undocumented joined separate
> 
> but no classes, then the description sentence is taken from the first
> matched one in that list that is used.  I think that should be good
> enough.  It avoids the ICE from the PR, and with other combinations
> of these qualifiers; see other patch introducing testsuite coverage.
> 
> OK for 4.4?  regtested i686-pc-linux-gnu.

> gcc/ChangeLog:
> 2009-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
> 
>         Revert
>         2008-10-14  Jakub Jelinek  <jakub@redhat.com>
>         PR middle-end/37805
>         * opts.c (common_handle_option): Don't ICE on -fhelp=joined
>         and -fhelp=separate.

>         PR middle-end/37805
>         * opts.c (print_specific_help): In addition to `undocumented',
>         accept `separate' and `joined' flags if passed alone.  Describe
>         output by the first matched one of those.
>         (common_handle_option): Skip over empty strings.
>         * gcc.c (display_help): Fix help string for `--help='.
>         * doc/invoke.texi (Option Summary, Overall Options): With
>         `--help=', classes and qualifiers can both be repeated, but
>         only the latter can be negated.  One should not pass only
>         negated qualifiers.  Fix markup and examples.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]