Commit 892c4745 by Bernd Edlinger

Reverted r205593

2013-12-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>

	PR target/58115
	* function.c (invoke_set_current_function_hook): Call
	targetm.set_current_function after setting this_fn_optabs.

From-SVN: r206364
parent 328402a9
......@@ -3854,12 +3854,6 @@
targets like arm-none-eabi.
* expr.c (expand_assignment): Handle normal fields like bit regions.
2013-12-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR target/58115
* function.c (invoke_set_current_function_hook): Call
targetm.set_current_function after setting this_fn_optabs.
2013-12-02 Richard Biener <rguenther@suse.de>
PR tree-optimization/59139
......@@ -4405,6 +4405,7 @@ invoke_set_current_function_hook (tree fndecl)
cl_optimization_restore (&global_options, TREE_OPTIMIZATION (opts));
}
targetm.set_current_function (fndecl);
this_fn_optabs = this_target_optabs;
if (opts != optimization_default_node)
......@@ -4414,8 +4415,6 @@ invoke_set_current_function_hook (tree fndecl)
this_fn_optabs = (struct target_optabs *)
TREE_OPTIMIZATION_OPTABS (opts);
}
targetm.set_current_function (fndecl);
}
}
......
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