diff options
author | Tobias Burnus <burnus@net-b.de> | 2014-11-29 01:04:48 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2014-11-29 01:04:48 +0100 |
commit | 27e51192eb152291b2a55cadb836210314f64438 (patch) | |
tree | 817e0bd186b25372de8bb48878056440c3f75bfb /gcc/fortran | |
parent | 9e5d3a2c07c230635986fce17f9ddeffcc2de44f (diff) | |
download | gcc-27e51192eb152291b2a55cadb836210314f64438.zip gcc-27e51192eb152291b2a55cadb836210314f64438.tar.gz gcc-27e51192eb152291b2a55cadb836210314f64438.tar.bz2 |
opt-functions.awk (lang_enabled_by): Support || for enabled-by.
2014-11-29 Tobias Burnus <burnus@net-b.de>
Manuel López-Ibáñez <manu@gcc.gnu.org>
gcc/
* opt-functions.awk (lang_enabled_by): Support || for
enabled-by.
* optc-gen.awk: Ditto.
* doc/options.texi (LangEnabledBy, EnabledBy): Document the
|| syntax.
gcc/fortran/
* lang.opt (Wtabs): Combine duplicated item into a single
one using || for LangEnabledBy.
Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
From-SVN: r218175
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/lang.opt | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 68c9416..a6e9035 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2014-11-29 Tobias Burnus <burnus@net-b.de> + Manuel López-Ibáñez <manu@gcc.gnu.org> + + * lang.opt (Wtabs): Combine duplicated item into a single + one using || for LangEnabledBy. + 2014-11-25 Tobias Burnus <burnus@net-b.de> * error.c (gfc_internal_error): Convert to common diagnostics. diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt index dc7c2a7..1d6cdde 100644 --- a/gcc/fortran/lang.opt +++ b/gcc/fortran/lang.opt @@ -298,13 +298,9 @@ Fortran Warning Warn about \"suspicious\" constructs Wtabs -Fortran Warning Var(warn_tabs) LangEnabledBy(Fortran,Wall) +Fortran Warning Var(warn_tabs) LangEnabledBy(Fortran,Wall || Wpedantic) Permit nonconforming uses of the tab character -Wtabs -LangEnabledBy(Fortran,Wpedantic) -; - Wunderflow Fortran Warning Warn about underflow of numerical constant expressions |