[Bug libfortran/58020] Code for handling IEEE exceptions
sgk at troutmask dot apl.washington.edu
gcc-bugzilla@gcc.gnu.org
Mon Jul 29 22:01:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58020
--- Comment #3 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Mon, Jul 29, 2013 at 09:03:53PM +0000, fkrogh#gcc at mathalacarte dot com
wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58020
>
> --- Comment #2 from Fred Krogh <fkrogh#gcc at mathalacarte dot com> ---
> 1. Hanson is willing to assign the copyright if you expect to be using this
> work. There were thoughts to include this work on a SIAM website where we
> think SIAM would want the copyright, but if gfortran wants to use this work it
> could be posted someplace that does not require copyright. Perhaps you could
> provide a link that describe how this assignment can be done. The SIAM
> publication is still work in progress and the package can be noted as
> copyrighted in accordance with your standards.
Given your 2) below, I suspect that the code would not be used
within gfortran. If the code appears on the SIAM site or some
other (semi-)permanent websire, then adding a link from the
gfortran wiki under "Using gfortran" may be appropriate.
> 2. There are no plans to support other architectures.
The problem is that gfortran works on a large selection of
architectures. We cannot simply pick to support i386/x86_64
and ignore all the others. At the very least, IEEE_FEATURES
should report that IEEE 754 is not supported for these lesser
archs.
> The Fortran standard says it is ok to *not* implement the IEEE modules,
This is sort of true.
> but there should be a module present on non-x86 machines that indicates
> this lack of support.
This is not required by the standard.
> Presently there is no support and no IEEE module of any kind.
Yep, which is permitted by the standard.
The standard actually states:
"Whether the modules are provided is processor dependent."
> 3. The messy code is code I wrote, and is currently (I think) likely
> to be published in the Transactions on Mathematical Software. That
> code is used only in the testing code and is not used in what should
> be considered the main submission. It does nothing more that give
> pretty output of results.
Thanks for the clarification on the messy code.
More information about the Gcc-bugs
mailing list