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: [tree-ssa] Fix gcc.dg/tree-ssa/20030530-2.c


In message <Pine.BSF.4.44.0306171905390.10660-100000@dair.pair.com>, Hans-Peter
 Nilsson writes:
 >On Thu, 12 Jun 2003 law@redhat.com wrote:
 >> You're highly unlikely to catch this with ENABLE_CHECKING.  It is not
 >> a memory corruption problem (FWIW).  It's just memory layout sensitive
 >> because of how we hash certain objects (their address).
 >
 >So don't hash on addresses, then! 
:)

 (Do you really have to?)
 >Maybe this is gone, it's been a few days.  In my armchair
 >position ;-)
It's gone :-)



 > I'd think it should be in codingconventions.html to
 >never base hash values on addresses in GCC.  Just like those
 >unstable sort functions (ahem!), you might get different output
 >on different hosts.
Probably a good thing to do.  Then it's simply a matter of fixing the
various places where we do still has on addresses :-)

jeff


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