opts: fix --help=common with '\t' description
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. gcc/ChangeLog: * common.opt: Update -flto-compression-level documentation. * opts.cc (print_filtered_help): Do not append range to an option that uses \t syntax.
This commit is contained in:
parent
a0de11d0d2
commit
6516257285
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue