mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 22:21:44 +08:00
Do not print params in --help except --help=param.
* opts.c (print_help): Exclude params from all except --help=param.
This commit is contained in:
parent
c2bd2b4664
commit
10fe5cbe00
@ -1,3 +1,8 @@
|
||||
2020-01-27 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* opts.c (print_help): Exclude params from
|
||||
all except --help=param.
|
||||
|
||||
2020-01-27 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR target/93274
|
||||
|
@ -2140,7 +2140,9 @@ print_help (struct gcc_options *opts, unsigned int lang_mask,
|
||||
/* We started using PerFunction/Optimization for parameters and
|
||||
a warning. We should exclude these from optimization options. */
|
||||
if (include_flags & CL_OPTIMIZATION)
|
||||
exclude_flags |= CL_WARNING | CL_PARAMS;
|
||||
exclude_flags |= CL_WARNING;
|
||||
if (!(include_flags & CL_PARAMS))
|
||||
exclude_flags |= CL_PARAMS;
|
||||
|
||||
if (include_flags)
|
||||
print_specific_help (include_flags, exclude_flags, 0, opts,
|
||||
|
Loading…
x
Reference in New Issue
Block a user