[multiple changes]

2014-06-18  Manuel López-Ibáñez  <manu@gcc.gnu.org>

        PR fortran/61126
        * options.c (gfc_handle_option): Remove call to
        handle_generated_option.

2014-06-18  Dominique d'Humieres <dominiq@lps.ens.fr>

        PR fortran/61126
        * gfortran.dg/wextra_1.f: Add -Wall to dg-options.

From-SVN: r211766
This commit is contained in:
Tobias Burnus 2014-06-18 08:09:28 +02:00
parent 5f5a5e0289
commit f2617193cb
4 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2014-06-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR fortran/61126
* options.c (gfc_handle_option): Remove call to
handle_generated_option.
2014-06-17 Tobias Burnus <burnus@net-b.de>
* check.c (gfc_check_atomic, gfc_check_atomic_def):

View file

@ -674,12 +674,7 @@ gfc_handle_option (size_t scode, const char *arg, int value,
break;
case OPT_Wextra:
handle_generated_option (&global_options, &global_options_set,
OPT_Wunused_parameter, NULL, value,
gfc_option_lang_mask (), kind, loc,
handlers, global_dc);
set_Wextra (value);
break;
case OPT_Wfunction_elimination:

View file

@ -1,3 +1,8 @@
2014-06-18 Dominique d'Humieres <dominiq@lps.ens.fr>
PR fortran/61126
* gfortran.dg/wextra_1.f: Add -Wall to dg-options.
2014-06-17 Tobias Burnus <burnus@net-b.de>
Alessandro Fanfarillo <alessandro.fanfarillo@gmail.com>

View file

@ -1,5 +1,5 @@
! { dg-do compile }
! { dg-options "-Wextra" }
! { dg-options "-Wall -Wextra" }
program main
integer, parameter :: x=3 ! { dg-warning "Unused parameter" }
real :: a