Laël Cellier <lael.cell...@gmail.com> added the comment: If -fwrapv isn’t enabled (whereas with gcc this is the default with ‑O2), then it means -ftrapv is enabled.
And from the manual page : This option generates traps for signed overflow on addition, subtraction, multiplication operations. Did you checked if the binary compiles fines with all ‑O2/‑O3 options replaced with ‑O0 in configure/Makefiles along gcc ? ---------- nosy: +Laël Cellier _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40223> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com