From: uweigand Date: Thu, 20 Nov 2003 00:28:39 +0000 (+0000) Subject: 2003-11-19 Andreas Krebbel X-Git-Tag: upstream/4.9.2~75225 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46390118aca7711661f8064c102a05247b933f36;p=platform%2Fupstream%2Flinaro-gcc.git 2003-11-19 Andreas Krebbel * stmt.c (expand_goto): Memory clobbers added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73749 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de8ad3a..d72548d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2003-11-19 Andreas Krebbel + * stmt.c (expand_goto): Memory clobbers added. + +2003-11-19 Andreas Krebbel + * reload.c (find_reloads): Added missing type casts. 2003-11-19 James E Wilson diff --git a/gcc/stmt.c b/gcc/stmt.c index 3c8e286..34e9457db 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -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.