Hi Patrick,
Thank you for investigating.
To turn off the unsafe intel optimizations, use:
make CFLAGS="-fp-model precise -g -O2"
These flags pass all tests for me with icc 13.0.1. Could you check this with
your 12.1 and 13.1?
With this CFLAGS setting, my 12.1 and 13.1 builds pass make check.
If it works I think we can close this bug.
Should we add autoconf foo to prevent Intel from shooting the user in the foot?
I suppose its
another (rather complicated) question whether we want to get GSL to pass all
the tests with gcc -ffast-math.
Agreed. Think that's worth a ticket? In my work I tend to gather
fast-math safe logic into one convenience library, no-fast-math into
another convenience library, and then create the installed .so from
those two outputs. This permits using -fsomething-sane only where
necessary.
- Rhys