bugGNU Scientific Library - Bugs: bug #39171, make check errors with gcc...


You are not allowed to post comments on this tracker with your current authentication level.

bug #39171: make check errors with gcc -ffast-math (or default Intel icc)

Submitter:  Patrick Alken <psa>
Submitted:  Wed 05 Jun 2013 09:14:48 PM UTC
Category:  Performance Severity:  3 - Normal
Operating System:  Status:  Confirmed
Assigned to:  None Open/Closed:  Open

Wed 05 Jun 2013 09:14:48 PM UTC, original submission:  

GSL will not pass make check with the -ffast-math flag passed to gcc. Similarly, Intel's icc default configuration for -O2 includes -ffast-math behavior and also fails (see bug #39152).

The document https://secure-software.intel.com/sites/default/files/article/326703/fp-control-2012-08.pdf contains a decent description of the various optimizations turned on by -ffast-math and the default icc configuration.

Getting GSL to pass make check with -ffast-math will most likely be a long and difficult project, involving rewrites of various routines to perform more consistently with these optimizations.

It is unclear if the effort is worth the reward, but this bug can be left open to track the issue.

Patrick Alken <psa>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by psa (Submitted the item)

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-8484.
    Corresponding source code