Ronald Oussoren <ronaldousso...@mac.com> added the comment:

Have you checked if -fwrapv is in the list of compiler arguments in the 
generated makefile?

There is an open issue about adding that flag when clang is used as the 
compiler (the flag is already used for gcc). The flag is necessary because the 
example code contains an integer overflow and that is undefined behavior 
according to the C standard.

----------
Added file: http://bugs.python.org/file22866/unnamed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12701>
_______________________________________
<html><body bgcolor="#FFFFFF"><blockquote type="cite"><div><br><font 
class="Apple-style-span" color="#000000"><br></font></div></blockquote>Have you 
checked if -fwrapv is in the list of compiler arguments in the generated 
makefile?<div><br></div><div>There is an open issue about adding that flag when 
clang is used as the compiler (the flag is already used for gcc). The flag is 
necessary because the example code contains an integer overflow and that is 
undefined behavior according to the C 
standard.&nbsp;</div><div><br></div></body></html>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to