explow.c (convert_memory_address, [...]): Copy STRING_POOL_ADDRESS_P.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Mon, 1 Jan 2001 14:04:25 +0000 (14:04 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 1 Jan 2001 14:04:25 +0000 (09:04 -0500)
* explow.c (convert_memory_address, case SYMBOL_REF): Copy
STRING_POOL_ADDRESS_P.

From-SVN: r38589

gcc/ChangeLog
gcc/explow.c

index cd2f7ac..d28c7ee 100644 (file)
@@ -1,5 +1,8 @@
 Mon Jan  1 07:38:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
+       * explow.c (convert_memory_address, case SYMBOL_REF): Copy
+       STRING_POOL_ADDRESS_P.
+
        * config/sparc/sparc.c (input_operand): Properly test for short op.
 
        * config.gcc (sparc-*-elf): Include sparc/sol2.h.
index 92de341..a1c6380 100644 (file)
@@ -395,6 +395,7 @@ convert_memory_address (to_mode, x)
       temp = gen_rtx_SYMBOL_REF (to_mode, XSTR (x, 0));
       SYMBOL_REF_FLAG (temp) = SYMBOL_REF_FLAG (x);
       CONSTANT_POOL_ADDRESS_P (temp) = CONSTANT_POOL_ADDRESS_P (x);
+      STRING_POOL_ADDRESS_P (temp) = STRING_POOL_ADDRESS_P (x);
       return temp;
 
     case CONST: