From 6881e3c13eb5061d4ca5c01867e3107978da074f Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Wed, 12 Dec 2018 17:12:25 +0000 Subject: [PATCH] Add support for SUBTARGET_OVERRIDE_OPTIONS on aarch64 * config/aarch64/aarch64.c (aarch64_override_options): Once arch, cpu and tune were validated, insert SUBTARGET_OVERRIDE_OPTIONS if defined. From-SVN: r267060 --- gcc/ChangeLog | 6 ++++++ gcc/config/aarch64/aarch64.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a9cda1a81f..4bc157d54f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-12-12 Olivier Hainque + + * config/aarch64/aarch64.c (aarch64_override_options): Once arch, + cpu and tune were validated, insert SUBTARGET_OVERRIDE_OPTIONS if + defined. + 2018-12-12 Olivier Hainque * config/aarch64/aarch64.c (PROBE_STACK_FIRST_REG) : Redefine as diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index e17373f00be..5f416633cad 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -11408,6 +11408,10 @@ aarch64_override_options (void) if (aarch64_tune_string) valid_tune = aarch64_validate_mtune (aarch64_tune_string, &selected_tune); +#ifdef SUBTARGET_OVERRIDE_OPTIONS + SUBTARGET_OVERRIDE_OPTIONS; +#endif + /* If the user did not specify a processor, choose the default one for them. This will be the CPU set during configuration using --with-cpu, otherwise it is "generic". */ -- 2.30.2