re PR fortran/30437 (-Wno-all is rejected (even when fortran is not included))
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Thu, 25 Jan 2007 21:15:34 +0000 (21:15 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Thu, 25 Jan 2007 21:15:34 +0000 (21:15 +0000)
commit4428e682fbb43a7eba4af9db9d43ea5d55a82b57
treeae99d681e8fc21bd381de32f00477b07892126f9
parent161a649cb95838bb373e2bcdaab050d2215c9754
re PR fortran/30437 (-Wno-all is rejected (even when fortran is not included))

2007-01-25  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR fortran/30437
fortran/
* lang.opt (Wall): Remove RejectNegative.
* options.c (gfc_handle_option): Wall can be disabled.
(set_Wall): Add a parameter for disabling Wall.
testsuite/
* gcc.dg/Wall.c: New.
* gcc.dg/Wno-all.c: New.
* gfortran.dg/Wall.f90: New.
* gfortran.dg/Wno-all.f90: New.

From-SVN: r121186
gcc/fortran/ChangeLog
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wall.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Wno-all.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/Wall.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/Wno-all.f90 [new file with mode: 0644]