Do not print params in --help except --help=param.

	* opts.c (print_help): Exclude params from
	all except --help=param.
parent c2bd2b46
2020-01-27 Martin Liska <mliska@suse.cz> 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 PR target/93274
* config/i386/i386-features.c (make_resolver_func): * config/i386/i386-features.c (make_resolver_func):
Align the code with ppc64 target implementation. Align the code with ppc64 target implementation.
......
...@@ -2140,7 +2140,9 @@ print_help (struct gcc_options *opts, unsigned int lang_mask, ...@@ -2140,7 +2140,9 @@ print_help (struct gcc_options *opts, unsigned int lang_mask,
/* We started using PerFunction/Optimization for parameters and /* We started using PerFunction/Optimization for parameters and
a warning. We should exclude these from optimization options. */ a warning. We should exclude these from optimization options. */
if (include_flags & CL_OPTIMIZATION) 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) if (include_flags)
print_specific_help (include_flags, exclude_flags, 0, opts, print_specific_help (include_flags, exclude_flags, 0, opts,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment