Follow-up Comment #2, bug #39152 (project gsl):

Intel icc turns on unsafe floating point optimizations by default, where gcc
does not (gcc must specify -ffast-math for these). Compiling GSL with gcc
-ffast-math produces many similar errors as seen by the icc logs below. To
turn off unsafe optimizations in icc use -fp-model precise:

make CFLAGS="-fp-model precise -g -O2"
make CFLAGS="-fp-model double -g -O2"

Both of these pass all tests

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39152>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to