[issue42587] test_buffer fails on Python built with GCC 11

STINNER Victor report at bugs.python.org
Mon Dec 7 19:24:19 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

> FAIL: test_memoryview_cast (test.test_buffer.TestBufferProtocol)

On AArch64, GCC 11 miscompiles unpack_cmp() of Objects/memoryview.c for the '?' case:

    /* boolean */
    case '?': CMP_SINGLE(p, q, _Bool); return equal;

I reported the bug to GCC upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98190

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42587>
_______________________________________


More information about the Python-bugs-list mailing list