From c58bfeadfa5d5a2d883bff78ec7db8cc77dc5463 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Mon, 2 Feb 2015 16:11:15 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/arm/arm.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4436e3f5a18..467a668d647 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-02-02 David Malcolm + + 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 Andrew Pinski Jakub Jelinek diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 246298a8724..c7c0ecf20d0 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]; -- 2.30.2