[PATCH 8/9] Remove option_default_params and option_validate_param hooks.

Martin Liška mliska@suse.cz
Tue Nov 12 09:22:00 GMT 2019


On 11/11/19 3:36 PM, Richard Biener wrote:
> as a followup I notice that the targets *_default_params () functions should
> be merged into the default-options structs they have (did you check the
> defaults are still applied and user-overridable?)

Apparently, the *_default_params target hook is not called right now. So that
I decided to directly transform all usages of that to default-options structs.
I built all the affected cross compilers and checked --help=param -Q, where
I can see the overwritten default. Moreover, a param value can be properly
adjusted with a user option.

I'm running tests on x86_64-linux-gnu and ppc64-linux-gnu right now to check
affect of the attached patch.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Remove-option_default_params-and-option_validate_par.patch
Type: text/x-patch
Size: 15335 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191112/009cd8c4/attachment.bin>


More information about the Gcc-patches mailing list