This is the mail archive of the gcc-patches@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]

Re: -Wunused-parameter


This looks a very good choise.

Many thanks,

   Angelo.

On Wed, 1 Aug 2007, Daniel Franke wrote:

>
> Follow-up to
> 	http://gcc.gnu.org/ml/fortran/2007-07/msg00545.html
>
>
> gcc/fortran:
> 2007-08-01  Daniel Franke  <franke.daniel@gmail.com>
>
> 	* trans-decl.c (generate_local_decl): Emit warning on unused parameter
> 	on "-Wall -Wextra" or "-Wunused-parameter" but not on "-Wall".
> 	* invoke.texi (-Wparameter-unused): Document differences between gcc
> 	and gfortran regarding this option.
>
> gcc/testsuite:
> 2007-08-01  Daniel Franke  <franke.daniel@gmail.com>
>
> 	* gfortran.dg/parameter_unused.f90: Adjusted dg-options.
>
>
> Bootstrapped and regression tested on i686-pc-linux-gnu.
> Ok for trunk?
>
> Regards
> 	Daniel
>


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