Commit a19d9c69 by Christian Bruel Committed by Christian Bruel

re PR target/66541 (r224314 causes ICE in gcc.dg/torture/pr52429.c)

PR target/66541
PR target/52144
* config/arm/arm.c (arm_set_current_function): Handle
explicit default options.

From-SVN: r224638
parent 36f1dbb0
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> 2015-06-18 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*movsicc_noc_zext): New insn. * config/i386/i386.md (*movsicc_noc_zext): New insn.
......
...@@ -29351,9 +29351,9 @@ arm_set_current_function (tree fndecl) ...@@ -29351,9 +29351,9 @@ arm_set_current_function (tree fndecl)
arm_previous_fndecl = fndecl; arm_previous_fndecl = fndecl;
if (old_tree == new_tree) 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, cl_target_option_restore (&global_options,
TREE_TARGET_OPTION (new_tree)); TREE_TARGET_OPTION (new_tree));
...@@ -29365,7 +29365,7 @@ arm_set_current_function (tree fndecl) ...@@ -29365,7 +29365,7 @@ arm_set_current_function (tree fndecl)
= save_target_globals_default_opts (); = 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; new_tree = target_option_current_node;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment