This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
hppa-linux support 9
- To: gcc-patches at gcc dot gnu dot org
- Subject: hppa-linux support 9
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Wed, 4 Apr 2001 20:37:24 +1000 (EST)
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. */