HP-UX IA64 ILP32 patch

Richard Henderson rth@redhat.com
Mon Jul 15 16:46:00 GMT 2002


On Mon, Jul 15, 2002 at 03:05:21PM -0700, Steve Ellcey wrote:
> *************** ia64_expand_load_address (dest, src, scr
> *** 1003,1009 ****
>       emit_insn (gen_load_gprel64 (temp, src));
>     else if (GET_CODE (src) == SYMBOL_REF && SYMBOL_REF_FLAG (src))
>       emit_insn (gen_load_fptr (temp, src));
> !   else if (sdata_symbolic_operand (src, DImode))
>       emit_insn (gen_load_gprel (temp, src));
>     else if (GET_CODE (src) == CONST
>   	   && GET_CODE (XEXP (src, 0)) == PLUS
> --- 1006,1014 ----
>       emit_insn (gen_load_gprel64 (temp, src));
>     else if (GET_CODE (src) == SYMBOL_REF && SYMBOL_REF_FLAG (src))
>       emit_insn (gen_load_fptr (temp, src));
> !   else if (((GET_MODE (src) == DImode) ||
> ! 	    (GET_MODE (src) == SImode)) &&
> ! 	   sdata_symbolic_operand (src, VOIDmode))

I thought I pointed this bit last time?  Should be
using Pmode and ptr_mode, not SI/DImode.

Ok with that change, plus putting the ||/&& on the correct line.


r~



More information about the Gcc-patches mailing list