]> gcc.gnu.org Git - gcc.git/commitdiff
(expand_asm_operands): For clobbering memory,
authorRichard Stallman <rms@gnu.org>
Thu, 14 Jan 1993 07:15:14 +0000 (07:15 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 14 Jan 1993 07:15:14 +0000 (07:15 +0000)
generate (MEM (SCRATCH)) inside the CLOBBER.

From-SVN: r3229

gcc/stmt.c

index 88f60b708b06d12dd04122509584c7555bc0b3c7..84e29801175877c2532856b5bc9eceab010da7fb 100644 (file)
@@ -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;
                }
 
This page took 0.073342 seconds and 5 git commands to generate.