complexobject.c optimization error on SGI

Robert J. Harrison rjh at 3-cities.com
Thu Dec 2 01:44:44 EST 1999


On an SGI (IRIX64 6.5, MIPSpro Compilers: Version 7.3.1m, -n32)
Python-1.5.2/Objects/complexobject.c does not compile correctly 
with optimization.  The problem shows up as a bus error in
PyComplex_ImagAsDouble when importing Numeric Python.  All works fine 
when this one file is compiled with -O0 (-O1 and higher fail).

Since we use the complex arithmetic it would be nice to compile
it with optimization.

Has anyone got a workaround?

-- 
Robert J. Harrison (rjh at 3-cities.com)




More information about the Python-list mailing list