Re: Building Python 2.4 with icc and processor-specific optimizations

2005-03-14 Thread Michael Hoffman
Martin v. Löwis wrote: OTOH, it could also be Python's failure to follow C's aliasing rules correctly; Python casts between C pointers which, in strict C, causes undefined behaviour. So if your compiler has something similar to GCC's -fno-strict-aliasing, you could see whether this helps. There's n

Re: Building Python 2.4 with icc and processor-specific optimizations

2005-03-14 Thread "Martin v. Löwis"
Michael Hoffman wrote: Further investigation reveals that the function that sets sys.builtin_module_names sorts the list before turning it into a tuple. And binarysort() in Objects/listobject.c doesn't work when optimized in that fashion. Adding #pragma optimize("", off) beforehand solves the probl

Re: Building Python 2.4 with icc and processor-specific optimizations

2005-03-14 Thread Michael Hoffman
Michael Hoffman wrote: Just out of curiosity, I was wondering if anyone has compiled Python 2.4 with the Intel C Compiler and its processor specific optimizations. I can build it fine with OPT="-O3" or OPT="-xN" but when I try to combine them I get this as soon as ./python is run: """ case $MAKEFLA