GNU 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 |
Release: |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
No changes have been made to this item
Powered by Savane 3.13-f8d8.
Corresponding source code
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.