aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-07-08 10:39:56 +0200
committerMartin Liska <marxin@gcc.gnu.org>2016-07-08 08:39:56 +0000
commit03e6ca4873c52eaba58933d317d425891f71cee0 (patch)
treebcba1e1ef1e78ffa236db6ef31a28b9c361c724c /gcc
parent2660286dcab0a72865faa3406c1e81572a1e42c8 (diff)
downloadgcc-03e6ca4873c52eaba58933d317d425891f71cee0.zip
gcc-03e6ca4873c52eaba58933d317d425891f71cee0.tar.gz
gcc-03e6ca4873c52eaba58933d317d425891f71cee0.tar.bz2
Enhance documentation of Wundefined-do-loop
* invoke.texi (Wundefined-do-loop): Enhance documentation. From-SVN: r238159
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/invoke.texi3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index afd9f06..c9df427 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2016-07-08 Martin Liska <mliska@suse.cz>
+
+ * invoke.texi (Wundefined-do-loop): Enhance documentation.
+
2016-07-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/71764
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index c0be1ab..87baf15 100644
--- a/gcc/fortran/invoke.texi
+++ b/gcc/fortran/invoke.texi
@@ -929,7 +929,8 @@ is active for @option{-pedantic}, @option{-std=f95}, @option{-std=f2003},
@opindex @code{Wundefined-do-loop}
@cindex warnings, undefined do loop
Warn if a DO loop with step either 1 or -1 yields an underflow or an overflow
-during iteration of an induction variable of the loop. Enabled by default.
+during iteration of an induction variable of the loop.
+This option is implied by @option{-Wall}.
@item -Wunderflow
@opindex @code{Wunderflow}