From bffc6177e360f0e8f5353d0e4cf5eda22f6c3b53 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Thu, 14 Jan 1993 07:15:14 +0000 Subject: [PATCH] (expand_asm_operands): For clobbering memory, generate (MEM (SCRATCH)) inside the CLOBBER. From-SVN: r3229 --- gcc/stmt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.43.5