re PR libfortran/30780 (FPE in CPU_TIME (and possibly others) with -ffpe-trap=underflow)
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 26 Sep 2007 22:27:16 +0000 (22:27 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 26 Sep 2007 22:27:16 +0000 (22:27 +0000)
PR fortran/30780
* invoke.texi: Add note to -ffpe-trap option. Fix typos.

From-SVN: r128825

gcc/fortran/ChangeLog
gcc/fortran/invoke.texi

index fcf15997eb4d008d0c58837d3d79e52a2bbcbb9d..db3bc95c6d0c25888488cfee1ca34e7f3ab2496f 100644 (file)
@@ -1,3 +1,8 @@
+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 Schlüter  <tobi@gcc.gnu.org>
 
        PR fortran/33269
index 754974fe8c7c3f3e5b3166913806a0f07e8e3527..49ab55bb872c94b9e13e0974827f7b9e3e58080b 100644 (file)
@@ -550,6 +550,11 @@ zero), @samp{overflow} (overflow in a floating point operation),
 @samp{precision} (loss of precision during operation) and @samp{denormal}
 (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
 @opindex @code{fbacktrace}
 @cindex backtrace
@@ -775,8 +780,8 @@ tools.
 
 Use of @option{-fno-underscoring} is not recommended unless you are
 experimenting with issues such as integration of GNU Fortran into
-existing system environments (vis-a-vis existing libraries, tools, and
-so on).
+existing system environments (vis-@`{a}-vis existing libraries, tools,
+and so on).
 
 For example, with @option{-funderscoring}, and assuming other defaults like
 @option{-fcase-lower} and that @code{j()} and @code{max_count()} are
@@ -862,7 +867,7 @@ checks array indices for assumed and deferred
 shape arrays against the actual allocated bounds.
 
 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
 substring references.