STINNER Victor <vstin...@redhat.com> added the comment:

> If gcc-8.0.1-0.14.fc28.ppc64le miscompiles memcpy(), perhaps the upstream 
> priority in https://bugzilla.redhat.com/show_bug.cgi?id=1540995 should be 
> "release blocker".

With the bug, memoryview doesn't round properly float: rounds to zero rather 
than rounding to nearest. It's not a critical crash or critical security 
vulnerability :-)

Anyway, I wrote a fix: PR 11593. My fix is to workaround the GCC compiler bug 
using volatile but only on ppc64. My change only impacts the 'f' type on ppc64 
when compiled by GCC. Other architectures, compilers and types are unaffected 
and so have no impact on performances.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35752>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to