diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-02-02 16:11:15 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-02-02 16:11:15 +0000 |
commit | c58bfeadfa5d5a2d883bff78ec7db8cc77dc5463 (patch) | |
tree | cca7cff086b202df0b3b8bc2f4557b4916f7bb91 | |
parent | 0f323065dd2ce13689eb200aa6549bf157bc1f90 (diff) | |
download | gcc-c58bfeadfa5d5a2d883bff78ec7db8cc77dc5463.zip gcc-c58bfeadfa5d5a2d883bff78ec7db8cc77dc5463.tar.gz gcc-c58bfeadfa5d5a2d883bff78ec7db8cc77dc5463.tar.bz2 |
PR jit/64810: fix for arm_option_override
gcc/ChangeLog:
PR jit/64810
* config/arm/arm.c (arm_option_override): Set
arm_selected_arch/cpu/tune to NULL on entry.
From-SVN: r220351
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4436e3f..467a668 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-02-02 David Malcolm <dmalcolm@redhat.com> + + PR jit/64810 + * config/arm/arm.c (arm_option_override): Set + arm_selected_arch/cpu/tune to NULL on entry. + 2015-02-02 Tejas Belagod <tejas.belagod@arm.com> Andrew Pinski <pinskia@gcc.gnu.org> Jakub Jelinek <jakub@gcc.gnu.org> diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 246298a..c7c0ecf 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -2627,6 +2627,10 @@ arm_gimplify_va_arg_expr (tree valist, tree type, gimple_seq *pre_p, static void arm_option_override (void) { + arm_selected_arch = NULL; + arm_selected_cpu = NULL; + arm_selected_tune = NULL; + if (global_options_set.x_arm_arch_option) arm_selected_arch = &all_architectures[arm_arch_option]; |