gcc optimization breaks NumPy?

Neil Schemenauer nascheme at ucalgary.ca
Mon Aug 23 19:38:52 EDT 1999


John Fisher <jfisher at are.berkeley.edu> wrote:
>I was getting consistent but inexplicable segmentation faults with the
>following code, using NumPy's C API to move data between Python and C
>(for sparse matrix multiplication; the data structure is from Meschach,
>in case that's relevant).  I found the problem to be caused by gcc's
>optimization options.

Which version of gcc?  With the lastest versions the strict
aliasing option is known to break some non-ANSI code.


    Neil




More information about the Python-list mailing list