[issue40223] Add -fwrapv for new icc versions
Laël Cellier
report at bugs.python.org
Tue Jun 9 10:40:02 EDT 2020
Laël Cellier <lael.cellier at 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 <report at bugs.python.org>
<https://bugs.python.org/issue40223>
_______________________________________
More information about the Python-bugs-list
mailing list