[PATCH, v3] Do not shift by larger than size in hash_bytes.cc

Paolo Carlini paolo.carlini@oracle.com
Sun Sep 19 09:10:00 GMT 2010


HI Ralf,

and thanks for noticing the warning,
> Regtested, no regressions.  It seems to me however that the warning
> hints that the code needs more adjustments for 32 bit size_t, or that
> load_bytes and shift_mix can be enclosed in '#if __SIZEOF_SIZE_T__ == 8'
> because they seem unused in the 32 bit case.
yes, I'm going to simply commit the below.

Thanks again,
Paolo.

////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20100919/b9fe2c48/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20100919/b9fe2c48/attachment-0001.ksh>


More information about the Libstdc++ mailing list