stmt.c (expand_goto): Memory clobbers added.

2003-11-19  Andreas Krebbel  <krebbel1@de.ibm.com>

	* stmt.c (expand_goto): Memory clobbers added.

From-SVN: r73749
This commit is contained in:
Andreas Krebbel 2003-11-20 00:28:39 +00:00 committed by Ulrich Weigand
parent b04a1b3b0c
commit 3d4f0dab09
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
* stmt.c (expand_goto): Memory clobbers added.
2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
* reload.c (find_reloads): Added missing type casts.

View File

@ -647,6 +647,13 @@ expand_goto (tree label)
else
#endif
{
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)));
/* Restore frame pointer for containing function.
This sets the actual hard register used for the frame pointer
to the location of the function's incoming static chain info.