(copy_for_inline, copy_rtx_and_substitute):
authorRichard Stallman <rms@gnu.org>
Wed, 15 Sep 1993 12:14:19 +0000 (12:14 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 15 Sep 1993 12:14:19 +0000 (12:14 +0000)
Always preserve the volatil flag when copying ASM_OPERANDS.

From-SVN: r5324

gcc/integrate.c

index 92d343728d51488125c9b87f6b299a401812446a..308b7babd40e301dadbc8d1bc9f91f062ad6f0d8 100644 (file)
@@ -942,6 +942,7 @@ copy_for_inline (orig)
       if (orig_asm_operands_vector == XVEC (orig, 3))
        {
          x = rtx_alloc (ASM_OPERANDS);
+         x->volatil = orig->volatil;
          XSTR (x, 0) = XSTR (orig, 0);
          XSTR (x, 1) = XSTR (orig, 1);
          XINT (x, 2) = XINT (orig, 2);
@@ -2163,6 +2164,7 @@ copy_rtx_and_substitute (orig, map)
       if (map->orig_asm_operands_vector == XVEC (orig, 3))
        {
          copy = rtx_alloc (ASM_OPERANDS);
+         copy->volatil = orig->volatil;
          XSTR (copy, 0) = XSTR (orig, 0);
          XSTR (copy, 1) = XSTR (orig, 1);
          XINT (copy, 2) = XINT (orig, 2);