ICE building on darwin
David Edelsohn
dje@watson.ibm.com
Wed Feb 4 22:59:00 GMT 2004
>>>>> Geoff Keating writes:
Geoff> 6590 if (!goal_mem && !goal_const
Geoff> 6591 && regno + (int) hard_regno_nregs[regno][mode] > valueno
Geoff> 6592 && regno < valueno + (int) hard_regno_nregs[valueno][mode])
Geoff> 6593 return 0;
Following the style in other parts of the compiler, the following
works for me:
*** reload.c Wed Feb 4 17:12:44 2004
--- reload.c Wed Feb 4 17:57:40 2004
*************** find_equiv_reg (rtx goal, rtx insn, enum
*** 6589,6593 ****
if (!goal_mem && !goal_const
! && regno + (int) hard_regno_nregs[regno][mode] > valueno
&& regno < valueno + (int) hard_regno_nregs[valueno][mode])
return 0;
--- 6589,6594 ----
if (!goal_mem && !goal_const
! && regno + (regno < FIRST_PSEUDO_REGISTER
! ? (int) hard_regno_nregs[regno][mode] : 1) > valueno
&& regno < valueno + (int) hard_regno_nregs[valueno][mode])
return 0;
More information about the Gcc
mailing list