From b0ef00dffdd1dc1dfa7675ff169a43b0a9906693 Mon Sep 17 00:00:00 2001 From: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267060 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/aarch64/aarch64.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a9cda1a81fd..4bc157d54f6a 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 e17373f00bec..5f416633cad2 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.47.3