[Numpy-discussion] Heads up on gcc-4.2 and -fstrict-overflow
Charles R Harris
charlesr.harris@gmail....
Wed May 16 11:36:21 CDT 2007
Hi All,
The newest released version of gcc implements the flag -fstrict-overflow,
which is on by default. In C this means that signed integers are assumed to
not overflow, as by the strict C standard only unsigned integers use modular
arithmetic and wrap. This may affect numpy because currently signed integers
wrap and don't raise a flag on overflow. We may need to unset this flag to
maintain current behaviour.
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20070516/c9b4c537/attachment.html
More information about the Numpy-discussion
mailing list