Commit 8307c61b by Francois-Xavier Coudert Committed by François-Xavier Coudert

re PR libfortran/30780 (FPE in CPU_TIME (and possibly others) with -ffpe-trap=underflow)

	PR fortran/30780
	* invoke.texi: Add note to -ffpe-trap option. Fix typos.

From-SVN: r128825
parent 4f99f3d0
2007-09-26 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/30780
* invoke.texi: Add note to -ffpe-trap option. Fix typos.
2007-09-23 Tobias Schlter <tobi@gcc.gnu.org> 2007-09-23 Tobias Schlter <tobi@gcc.gnu.org>
PR fortran/33269 PR fortran/33269
......
...@@ -550,6 +550,11 @@ zero), @samp{overflow} (overflow in a floating point operation), ...@@ -550,6 +550,11 @@ zero), @samp{overflow} (overflow in a floating point operation),
@samp{precision} (loss of precision during operation) and @samp{denormal} @samp{precision} (loss of precision during operation) and @samp{denormal}
(operation produced a denormal value). (operation produced a denormal value).
Some of the routines in the Fortran runtime library, like
@samp{CPU_TIME}, are likely to to trigger floating point exceptions when
@code{ffpe-trap=precision} is used. For this reason, the use of
@code{ffpe-trap=precision} is not recommended.
@item -fbacktrace @item -fbacktrace
@opindex @code{fbacktrace} @opindex @code{fbacktrace}
@cindex backtrace @cindex backtrace
...@@ -775,8 +780,8 @@ tools. ...@@ -775,8 +780,8 @@ tools.
Use of @option{-fno-underscoring} is not recommended unless you are Use of @option{-fno-underscoring} is not recommended unless you are
experimenting with issues such as integration of GNU Fortran into experimenting with issues such as integration of GNU Fortran into
existing system environments (vis-a-vis existing libraries, tools, and existing system environments (vis-@`{a}-vis existing libraries, tools,
so on). and so on).
For example, with @option{-funderscoring}, and assuming other defaults like For example, with @option{-funderscoring}, and assuming other defaults like
@option{-fcase-lower} and that @code{j()} and @code{max_count()} are @option{-fcase-lower} and that @code{j()} and @code{max_count()} are
...@@ -862,7 +867,7 @@ checks array indices for assumed and deferred ...@@ -862,7 +867,7 @@ checks array indices for assumed and deferred
shape arrays against the actual allocated bounds. shape arrays against the actual allocated bounds.
Some checks require that @option{-fbounds-check} is set for Some checks require that @option{-fbounds-check} is set for
the compilation of the main probram. the compilation of the main program.
In the future this may also include other forms of checking, e.g., checking In the future this may also include other forms of checking, e.g., checking
substring references. substring references.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment