]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/stmt.c
(expand_asm_operands): For clobbering memory,
[gcc.git] / 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.030511 seconds and 5 git commands to generate.