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]
Other format: [Raw text]

Re: RFA: Fix PR 22445


Joern Rennecke wrote:

The actual failure decribed in the PR is fixed by merely not using mode
in the hashing of CONST_INTs, i.e. that is the one-line change in the last
hunk of the attached patch. However, when you compare addresses that

Oops, that's the fifth hunk, actually. I.e. this one:


*************** cselib_hash_rtx (rtx x, enum machine_mod
*** 572,578 ****
return e->value;
case CONST_INT:
! hash += ((unsigned) CONST_INT << 7) + (unsigned) mode + INTVAL (x);
return hash ? hash : (unsigned int) CONST_INT;
case CONST_DOUBLE:
--- 592,598 ----
return e->value;
case CONST_INT:
! hash += ((unsigned) CONST_INT << 7) + INTVAL (x);
return hash ? hash : (unsigned int) CONST_INT;
case CONST_DOUBLE:


And the ChangeLog will get a "PR rtl-optimization/22445" marker.


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