hppa-linux support 9
Alan Modra
alan@linuxcare.com.au
Wed Apr 4 05:57:00 GMT 2001
A small tweak.
* pa.c (hppa_init_pic_save): Set rtx_unchanging for
PIC_OFFSET_TABLE_SAVE_RTX.
Alan Modra
--
Linuxcare
diff -urpN -xCVS -x*~ -x.#* gcc-current/gcc/config/pa/pa.c gcc-new/gcc/config/pa/pa.c
--- gcc-current/gcc/config/pa/pa.c Wed Apr 4 09:46:54 2001
+++ gcc-new/gcc/config/pa/pa.c Wed Apr 4 10:07:37 2001
@@ -3346,6 +3368,7 @@ hppa_init_pic_save ()
picreg = gen_rtx_REG (word_mode, PIC_OFFSET_TABLE_REGNUM);
PIC_OFFSET_TABLE_SAVE_RTX = gen_reg_rtx (Pmode);
+ RTX_UNCHANGING_P (PIC_OFFSET_TABLE_SAVE_RTX) = 1;
insn = gen_rtx_SET (VOIDmode, PIC_OFFSET_TABLE_SAVE_RTX, picreg);
/* Emit the insn at the beginning of the function after the prologue. */
More information about the Gcc-patches
mailing list