]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/54465 (Implement -Wextra for Fortran)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 21 Oct 2012 10:32:02 +0000 (10:32 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 21 Oct 2012 10:32:02 +0000 (10:32 +0000)
commit72ac1c070c335b404c28d57518ff8c26c78be022
treee45831dd86e24d69631bde816807ddf8d60030cf
parent699ae4b58550cf88c77e4654567328d3ab9d2234
re PR fortran/54465 (Implement -Wextra for Fortran)

2012-10-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/54465
* lang.opt (Wextra):  Add.
* invoke.texi:  Document that -Wc-binding-type, -Wconversion
and -Wline-truncation are implied by -Wall.  Document that
-Wcompare-reals is implied by -Wextra.  Document -Wextra.
* options.c (set_Wextra):  New function.
(gfc_handle_option):  Handle -Wextra.

2012-10-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/54465
* gfortran.dg/wextra_1.f:  New test.

From-SVN: r192649
gcc/fortran/ChangeLog
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/fortran/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/wextra_1.f [new file with mode: 0644]