Commit dea33aa7 by Jan Hubicka Committed by Jan Hubicka

builtins.c (expand_builtin_nonlocal_goto): Stabilize r_sp before clobbering framepointer.

	* builtins.c (expand_builtin_nonlocal_goto): Stabilize r_sp before
	clobbering framepointer.

From-SVN: r136959
parent bad5e2b5
2008-06-19 Jan Hubicka <jh@suse.cz> 2008-06-19 Jan Hubicka <jh@suse.cz>
* builtins.c (expand_builtin_nonlocal_goto): Stabilize r_sp before
clobbering framepointer.
2008-06-19 Jan Hubicka <jh@suse.cz>
* tree-optimize.c (execute_early_local_optimizations): Set * tree-optimize.c (execute_early_local_optimizations): Set
cgraph_state only at first invocation. cgraph_state only at first invocation.
......
...@@ -887,6 +887,7 @@ expand_builtin_nonlocal_goto (tree exp) ...@@ -887,6 +887,7 @@ expand_builtin_nonlocal_goto (tree exp)
#endif #endif
{ {
r_label = copy_to_reg (r_label); r_label = copy_to_reg (r_label);
r_sp = copy_to_reg (r_sp);
emit_clobber (gen_rtx_MEM (BLKmode, gen_rtx_SCRATCH (VOIDmode))); emit_clobber (gen_rtx_MEM (BLKmode, gen_rtx_SCRATCH (VOIDmode)));
emit_clobber (gen_rtx_MEM (BLKmode, hard_frame_pointer_rtx)); emit_clobber (gen_rtx_MEM (BLKmode, hard_frame_pointer_rtx));
......
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