This is the mail archive of the gcc-patches@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]

Re: Solaris bootstrap failure


> Date: Fri, 9 Mar 2001 11:48:36 +0000 (GMT)
> From: Bernd Schmidt <bernds@cambridge.redhat.com>
> To: Mike Stump <mrs@windriver.com>
> Cc: <chowell@redhat.com>, <gcc@gcc.gnu.org>

> Yes, that does look like a problem, even if it isn't causing the
> comparison failures in this case.  Would you check in the fix?

Done.


Fri Mar  9 09:00:36 2001  Mike Stump  <mrs@wrs.com>

	* cselib.c (hash_rtx): Ensure that hash isn't zero upon return.

Doing diffs in cselib.c.~1~:
*** cselib.c.~1~	Fri Mar  2 15:15:32 2001
--- cselib.c	Fri Mar  9 08:42:47 2001
*************** hash_rtx (x, mode, create)
*** 580,586 ****
  	return 0;
  
        hash += e->value;
!       return hash;
  
      case CONST_INT:
        hash += ((unsigned) CONST_INT << 7) + (unsigned) mode + INTVAL (x);
--- 580,586 ----
  	return 0;
  
        hash += e->value;
!       return hash ? hash : (unsigned int) MEM;
  
      case CONST_INT:
        hash += ((unsigned) CONST_INT << 7) + (unsigned) mode + INTVAL (x);
--------------


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