diff options
author | Richard Stallman <rms@gnu.org> | 1993-01-14 07:15:14 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-01-14 07:15:14 +0000 |
commit | bffc6177e360f0e8f5353d0e4cf5eda22f6c3b53 (patch) | |
tree | b047dd12edf5c69e4932a3f0a56e8793df9603bb /gcc | |
parent | a556433125f3df60655ce8b8eb3e08ecbece727c (diff) | |
download | gcc-bffc6177e360f0e8f5353d0e4cf5eda22f6c3b53.zip gcc-bffc6177e360f0e8f5353d0e4cf5eda22f6c3b53.tar.gz gcc-bffc6177e360f0e8f5353d0e4cf5eda22f6c3b53.tar.bz2 |
(expand_asm_operands): For clobbering memory,
generate (MEM (SCRATCH)) inside the CLOBBER.
From-SVN: r3229
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/stmt.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; } |