builtins.c (expand_builtin_longjmp): Added two memory clobbers.

2003-12-01  Andreas Krebbel  <krebbel1@de.ibm.com>

	* builtins.c (expand_builtin_longjmp): Added two memory clobbers.

From-SVN: r74108
This commit is contained in:
Andreas Krebbel 2003-12-01 16:20:42 +00:00 committed by Ulrich Weigand
parent 0422e94065
commit 41439bf6a6
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-12-01 Andreas Krebbel <krebbel1@de.ibm.com>
* builtins.c (expand_builtin_longjmp): Added two memory clobbers.
2003-12-01 Ulrich Weigand <uweigand@de.ibm.com>
* reload.c (find_reloads_address): Split addresses of type

View File

@ -710,6 +710,13 @@ expand_builtin_longjmp (rtx buf_addr, rtx value)
{
lab = copy_to_reg (lab);
emit_insn (gen_rtx_CLOBBER (VOIDmode,
gen_rtx_MEM (BLKmode,
gen_rtx_SCRATCH (VOIDmode))));
emit_insn (gen_rtx_CLOBBER (VOIDmode,
gen_rtx_MEM (BLKmode,
hard_frame_pointer_rtx)));
emit_move_insn (hard_frame_pointer_rtx, fp);
emit_stack_restore (SAVE_NONLOCAL, stack, NULL_RTX);