explow.c (convert_memory_address, [...]): Copy STRING_POOL_ADDRESS_P.

* explow.c (convert_memory_address, case SYMBOL_REF): Copy
	STRING_POOL_ADDRESS_P.

From-SVN: r38589
This commit is contained in:
Richard Kenner 2001-01-01 14:04:25 +00:00 committed by Richard Kenner
parent 4746e0fe78
commit 7d797311fb
2 changed files with 4 additions and 0 deletions

View 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.

View 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: