Hi, When I was working to update patch as Richard's review comments here https://gcc.gnu.org/pipermail/gcc-patches/2020-August/551474.html£¬ I noticed that the options "-Q --help=params" don't show the final values after target option overriding, instead it emits the default values in params.opt (without any explicit param settings). I guess it's more meaningful to get it to emit values post-overrided, to avoid possible confusion for users. Does it make sense? Or are there any concerns? btw, not sure whether it's a good idea to move target_option_override_hook call into print_specific_help and use one function local static variable to control it's called once for all kinds of help dumping (possible combination), then can remove the calls in function common_handle_option. BR, Kewen ----- gcc/ChangeLog: * opts-global.c (decode_options): Adjust call to print_help. * opts.c (print_help): Add one function point argument target_option_override_hook and call it before print_specific_help. * opts.h (print_help): Add one more argument to function declare.