[cfe-commits] RFC - Fix std::hash bugs and remove reinterpret_cast<>

Chandler Carruth chandlerc at google.com
Fri Dec 2 14:41:07 PST 2011


On Fri, Dec 2, 2011 at 2:26 PM, John McCall <rjmccall at apple.com> wrote:

> I understand that true C portability is hard, but I'm sure we can do
> better than this.


I suspect all of this complexity would evaporate through use of memcpy to
read X bytes out of the input, and xor-ing those read values in a loop....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111202/f6c0c480/attachment.html>


More information about the cfe-commits mailing list