[issue13061] Decimal module yields incorrect results when Python compiled with llvm

Stefan Krah report at bugs.python.org
Thu Sep 29 22:41:39 CEST 2011


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

It's more a straight duplicate of #12973, but the underlying cause
(signed integer overflow) is the same. For people who are finding
this via a search engine: A lot of bugs have been fixed in #12973,
but even if the test suite passes without -fwrapv it is *still* recommended to use -fwrapv.


Could anyone test if the attached patch works for llvm-gcc?

----------
keywords: +patch
Added file: http://bugs.python.org/file23265/llvm-gcc-fwrapv.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13061>
_______________________________________


More information about the Python-bugs-list mailing list