From: Jan Hubicka Date: Thu, 19 Jun 2008 18:00:12 +0000 (+0200) Subject: builtins.c (expand_builtin_nonlocal_goto): Stabilize r_sp before clobbering framepointer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dea33aa707a98bfecc8af5c83c969053ef0dc4b5;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d5c60c03cf5..d9f6157cb48 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-06-19 Jan Hubicka + + * builtins.c (expand_builtin_nonlocal_goto): Stabilize r_sp before + clobbering framepointer. + 2008-06-19 Jan Hubicka * tree-optimize.c (execute_early_local_optimizations): Set diff --git a/gcc/builtins.c b/gcc/builtins.c index 57d9379983b..cdc5ab31375 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -887,6 +887,7 @@ expand_builtin_nonlocal_goto (tree exp) #endif { 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, hard_frame_pointer_rtx));