PR target/66541
PR target/52144
* config/arm/arm.c (arm_set_current_function): Handle
explicit default options.
From-SVN: r224638
+2015-06-19 Christian Bruel <christian.bruel@st.com>
+
+ PR target/66541
+ PR target/52144
+ * config/arm/arm.c (arm_set_current_function): Handle
+ explicit default options.
+
2015-06-18 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*movsicc_noc_zext): New insn.
arm_previous_fndecl = fndecl;
if (old_tree == new_tree)
- ;
+ return;
- else if (new_tree)
+ if (new_tree && new_tree != target_option_default_node)
{
cl_target_option_restore (&global_options,
TREE_TARGET_OPTION (new_tree));
= save_target_globals_default_opts ();
}
- else if (old_tree)
+ else if (old_tree && old_tree != target_option_default_node)
{
new_tree = target_option_current_node;