This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/54465] Implement -Wextra for Fortran


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54465

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2012-10-21 10:32:05 UTC ---
Author: tkoenig
Date: Sun Oct 21 10:32:02 2012
New Revision: 192649

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192649
Log:
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.


Added:
    trunk/gcc/testsuite/gfortran.dg/wextra_1.f
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/invoke.texi
    trunk/gcc/fortran/lang.opt
    trunk/gcc/fortran/options.c
    trunk/gcc/fortran/trans.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]