]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR fortran/50334
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Nov 2011 08:11:10 +0000 (08:11 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Nov 2011 08:11:10 +0000 (08:11 +0000)
* invoke.texi (-finit-*): Document interaction with
-Wuninitialized.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181150 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 0238c30f197a18f6f6c7c965dcac2b15d50941f8..4ae0e5b350a586bf693494b9b895357b305de1e6 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/50334
+       * invoke.texi (-finit-*): Document interaction with
+       -Wuninitialized.
+
 2011-11-07  François-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
        PR libfortran/49188
index 7808c52ec735264e7eff7cb554f15b831ac7e9f8..7337f9279bac07b0f2f9a2eb89e9d1cea0c3cc8b 100644 (file)
@@ -1482,6 +1482,10 @@ use @option{-finit-real=snan}; note, however, that compile-time
 optimizations may convert them into quiet NaN and that trapping
 needs to be enabled (e.g. via @option{-ffpe-trap}).
 
+Finally, note that enabling any of the @option{-finit-*} options will
+silence warnings that would have been emitted by @option{-Wuninitialized}
+for the affected local variables.
+
 @item -falign-commons
 @opindex @code{falign-commons}
 @cindex alignment of @code{COMMON} blocks