This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

PR 30437 [4.0/4.1/4.2/4.3 Regression] -Wno-all is rejected (try 2)


:ADDPATCH fortran:

Wno-all is currently rejected on mainline by all front-ends because it
is rejected by fortran. This patch fixes the issue. However, a better
fix would be to move Wall to common.opt but let it be handled by each
front-end. I was not able to implement this, front-ends were not able
to catch Wall, any suggestions ?

This patch bootstraps and does not generate new regressions.

OK for mainline?

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

fortran/
 PR fortran/30437
 * lang.opt (Wall): Remove RejectNegative.
 * options.c (gfc_handle_option): Wall can be disabled.
 (set_Wall): Add a parameter for disabling Wall.

testsuite/
 PR fortran/30437
 * gcc.dg/Wall.c: New.
 * gcc.dg/Wno-all.c: New.
 * gfortran.dg/Wall.f90: New.
 * gfortran.dg/Wno-all.f90: New.

Attachment: wno-all.diff
Description: Text document


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