In message <[EMAIL PROTECTED]>
          Nicholas Nethercote <[EMAIL PROTECTED]> wrote:

> On Fri, 7 Dec 2007, Julian Seward wrote:
> 
> > I had a brief check through m_oset.c, looking for word size and signedness
> > issues to do with fast-case comparisons of keys (as is used here), but
> > saw nothing suspicious.
> 
> I think it is a problem with the fast comparison.  I've reproduced the bug,
> and when I added an explicit slow comparison function, it behaves correctly.
> I'll keep looking...

I came to that conclusion as well, but had to go out before I had a
chance to send another mail.

Thinking about it as I was walking to the station I suddenly realised
that the fast case comparison is treating the addresses as Word types
which are signed, so the high address in this case becomes negative
and appears to come before the other address.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to