* function.c (gen_mem_addressof): When changing the RTX from a REG
to a MEM, clear MEM_VOLATILE_P which was formerly REG_USERVAR_P.
From-SVN: r80540
+2004-04-08 Roger Sayle <roger@eyesopen.com>
+
+ * function.c (gen_mem_addressof): When changing the RTX from a REG
+ to a MEM, clear MEM_VOLATILE_P which was formerly REG_USERVAR_P.
+
2004-04-08 Roger Sayle <roger@eyesopen.com>
PR target/14888
RTX_UNCHANGING_P (XEXP (r, 0)) = RTX_UNCHANGING_P (reg);
PUT_CODE (reg, MEM);
+ MEM_VOLATILE_P (reg) = 0;
MEM_ATTRS (reg) = 0;
XEXP (reg, 0) = r;
{
/* This can only happen during reload. Clear the same flag bits as
reload. */
- MEM_VOLATILE_P (reg) = 0;
RTX_UNCHANGING_P (reg) = 0;
MEM_IN_STRUCT_P (reg) = 0;
MEM_SCALAR_P (reg) = 0;
- MEM_ATTRS (reg) = 0;
fixup_var_refs (reg, GET_MODE (reg), 0, reg, 0);
}