libgo patch committed: Fix hash function for big-endian 32bit systems

Ian Lance Taylor iant@google.com
Tue Feb 14 18:04:00 GMT 2012


This libgo patch fixes the identity hash function for big-endian 32-bit
systems.  Before this patch the hash code for a 32-bit value always
turned out to be zero on a big-endian 32-bit system.  This patch fixes
the problem.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 474 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120214/734d6efe/attachment.bin>


More information about the Gcc-patches mailing list