From: Richard Stallman Date: Thu, 14 Jan 1993 07:15:14 +0000 (+0000) Subject: (expand_asm_operands): For clobbering memory, X-Git-Tag: misc/cutover-egcs-0~10714 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=bffc6177e360f0e8f5353d0e4cf5eda22f6c3b53;p=gcc.git (expand_asm_operands): For clobbering memory, generate (MEM (SCRATCH)) inside the CLOBBER. From-SVN: r3229 --- diff --git a/gcc/stmt.c b/gcc/stmt.c index 88f60b708b06..84e298011758 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -1272,7 +1272,10 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line) if (j == -4) /* `memory', don't cache memory across asm */ { - XVECEXP (body, 0, i++) = gen_rtx (CLOBBER, VOIDmode, const0_rtx); + XVECEXP (body, 0, i++) + = gen_rtx (CLOBBER, VOIDmode, + gen_rtx (MEM, QImode, + gen_rtx (SCRATCH, VOIDmode, 0))); continue; }