Commit ce02ba25 by Eric Christopher Committed by Eric Christopher

explow.c (convert_memory_address): Use shallow_copy_rtx.

2002-10-31  Eric Christopher  <echristo@redhat.com>

        * explow.c (convert_memory_address): Use shallow_copy_rtx.

From-SVN: r58695
parent 8efb33ec
2002-10-31 Eric Christopher <echristo@redhat.com>
* explow.c (convert_memory_address): Use shallow_copy_rtx.
2002-10-31 Steve Ellcey <sje@cup.hp.com> 2002-10-31 Steve Ellcey <sje@cup.hp.com>
* expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN. * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
......
...@@ -405,10 +405,8 @@ convert_memory_address (to_mode, x) ...@@ -405,10 +405,8 @@ convert_memory_address (to_mode, x)
break; break;
case SYMBOL_REF: case SYMBOL_REF:
temp = gen_rtx_SYMBOL_REF (to_mode, XSTR (x, 0)); temp = shallow_copy_rtx (x);
SYMBOL_REF_FLAG (temp) = SYMBOL_REF_FLAG (x); PUT_MODE (temp, to_mode);
CONSTANT_POOL_ADDRESS_P (temp) = CONSTANT_POOL_ADDRESS_P (x);
STRING_POOL_ADDRESS_P (temp) = STRING_POOL_ADDRESS_P (x);
return temp; return temp;
break; break;
...@@ -1716,4 +1714,3 @@ rtx_to_tree_code (code) ...@@ -1716,4 +1714,3 @@ rtx_to_tree_code (code)
} }
#include "gt-explow.h" #include "gt-explow.h"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment