This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ICE building on darwin


>>>>> 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]