From 81d823048d1e858d64b872224e6d0414df438445 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 15 Sep 1993 12:14:19 +0000 Subject: [PATCH] (copy_for_inline, copy_rtx_and_substitute): Always preserve the volatil flag when copying ASM_OPERANDS. From-SVN: r5324 --- gcc/integrate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/integrate.c b/gcc/integrate.c index 92d343728d5..308b7babd40 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -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); -- 2.30.2