[issue28055] pyhash's siphash24 assumes alignment of the data pointer
Rolf Eike Beer
report at bugs.python.org
Mon Mar 26 13:40:00 EDT 2018
Rolf Eike Beer <eike at sf-mail.de> added the comment:
So, what is the problem with this? Either the compiler knows that unaligned accesses are no problem and optimizes them away anyway, or it is kept because it would crash otherwise. I can confirm that no sparc version >= 3.5 (have not tried older) survives the test suite on Gentoo Sparc (64 bit kernel, 32 bit userspace) without memcpy().
----------
nosy: +Dakon
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28055>
_______________________________________
More information about the Python-bugs-list
mailing list