public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <richard.guenther@gmail.com>
To: "Martin Liška" <mliska@suse.cz>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] opts: fix --help=common with '\t' description
Date: Fri, 23 Sep 2022 08:51:24 +0200	[thread overview]
Message-ID: <CAFiYyc2+mhSu5epOKWYf5fx9__Oe3ON2s3D87UtdiZUmmTWCfA@mail.gmail.com> (raw)
In-Reply-To: <744c4c66-b7cb-f99f-a63e-1cc58c291e96@suse.cz>

On Thu, Sep 22, 2022 at 3:59 PM Martin Liška <mliska@suse.cz> wrote:
>
> Fixes -flto-compression option:
>
> -  -flto-compression-level=<number>     Use z Use zlib/zstd compression level <number> for IL.
> +  -flto-compression-level=<0,19> Use zlib/zstd compression level <number> for IL.
>
> Ready for master?

OK

> Thanks,
> Martin
>
> ---
>  gcc/common.opt | 2 +-
>  gcc/opts.cc    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gcc/common.opt b/gcc/common.opt
> index 06ef768ab78..296d6f194bf 100644
> --- a/gcc/common.opt
> +++ b/gcc/common.opt
> @@ -2106,7 +2106,7 @@ Specify the algorithm to partition symbols and vars at linktime.
>  ; The initial value of -1 comes from Z_DEFAULT_COMPRESSION in zlib.h.
>  flto-compression-level=
>  Common Joined RejectNegative UInteger Var(flag_lto_compression_level) Init(-1) IntegerRange(0, 19)
> --flto-compression-level=<number>       Use zlib/zstd compression level <number> for IL.
> +Use zlib/zstd compression level <number> for IL.
>
>  flto-odr-type-merging
>  Common Ignore
> diff --git a/gcc/opts.cc b/gcc/opts.cc
> index e058aaf3697..eb5db01de17 100644
> --- a/gcc/opts.cc
> +++ b/gcc/opts.cc
> @@ -1801,7 +1801,7 @@ print_filtered_help (unsigned int include_flags,
>           help = new_help;
>         }
>
> -      if (option->range_max != -1)
> +      if (option->range_max != -1 && tab == NULL)
>         {
>           char b[128];
>           snprintf (b, sizeof (b), "<%d,%d>", option->range_min,
> --
> 2.37.3
>

      reply	other threads:[~2022-09-23  6:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-22 13:58 Martin Liška
2022-09-23  6:51 ` Richard Biener [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFiYyc2+mhSu5epOKWYf5fx9__Oe3ON2s3D87UtdiZUmmTWCfA@mail.gmail.com \
    --to=richard.guenther@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=mliska@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).