This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author donmez
Recipients donmez
Date 2011-02-08.10:46:46
SpamBayes Score 6.3601847e-06
Marked as misclassified No
Message-id <1297162007.28.0.193963502998.issue11149@psf.upfronthosting.co.za>
In-reply-to
Content
clang (as with gcc 4.x) assumes signed integer overflow is undefined. But Python depends on the fact that signed integer overflow wraps. 

Currently configure script adds -fwrapv flag for GCC (added by me back in the day), same should be done with clang.

Patch attached.
History
Date User Action Args
2011-02-08 10:46:47donmezsetrecipients: + donmez
2011-02-08 10:46:47donmezsetmessageid: <1297162007.28.0.193963502998.issue11149@psf.upfronthosting.co.za>
2011-02-08 10:46:46donmezlinkissue11149 messages
2011-02-08 10:46:46donmezcreate