Re: [PATCH v2] options: Make --help= to emit values post-overrided

2020-08-18 Thread Richard Sandiford
"Kewen.Lin" writes: > * opts-global.c (decode_options): Call target_option_override_hook > before it prints for --help=*. OK, thanks. Richard > diff --git a/gcc/opts-global.c b/gcc/opts-global.c > index b1a8429dc3c..69fe2b4f3b1 100644 > --- a/gcc/opts-global.c > +++

[PATCH v2] options: Make --help= to emit values post-overrided

2020-08-18 Thread Kewen.Lin via Gcc-patches
Hi Segher, on 2020/8/15 上午6:01, Segher Boessenkool wrote: > Hi! > > On Fri, Aug 14, 2020 at 01:42:24PM +0800, Kewen.Lin wrote: >>> I think personally I'd prefer an option (3): call >>> target_option_override_hook directly in decode_options, >>> if help_option_arguments is nonempty. Like you