(copy_for_inline, copy_rtx_and_substitute):
Always preserve the volatil flag when copying ASM_OPERANDS. From-SVN: r5324
This commit is contained in:
parent
d9fc6069c6
commit
81d823048d
@ -942,6 +942,7 @@ copy_for_inline (orig)
|
|||||||
if (orig_asm_operands_vector == XVEC (orig, 3))
|
if (orig_asm_operands_vector == XVEC (orig, 3))
|
||||||
{
|
{
|
||||||
x = rtx_alloc (ASM_OPERANDS);
|
x = rtx_alloc (ASM_OPERANDS);
|
||||||
|
x->volatil = orig->volatil;
|
||||||
XSTR (x, 0) = XSTR (orig, 0);
|
XSTR (x, 0) = XSTR (orig, 0);
|
||||||
XSTR (x, 1) = XSTR (orig, 1);
|
XSTR (x, 1) = XSTR (orig, 1);
|
||||||
XINT (x, 2) = XINT (orig, 2);
|
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))
|
if (map->orig_asm_operands_vector == XVEC (orig, 3))
|
||||||
{
|
{
|
||||||
copy = rtx_alloc (ASM_OPERANDS);
|
copy = rtx_alloc (ASM_OPERANDS);
|
||||||
|
copy->volatil = orig->volatil;
|
||||||
XSTR (copy, 0) = XSTR (orig, 0);
|
XSTR (copy, 0) = XSTR (orig, 0);
|
||||||
XSTR (copy, 1) = XSTR (orig, 1);
|
XSTR (copy, 1) = XSTR (orig, 1);
|
||||||
XINT (copy, 2) = XINT (orig, 2);
|
XINT (copy, 2) = XINT (orig, 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user