OSDN Git Service

gcc/fortran:
authordfranke <dfranke@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2007 13:51:37 +0000 (13:51 +0000)
committerdfranke <dfranke@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2007 13:51:37 +0000 (13:51 +0000)
commit6ecfe89d1bf54d09b2a21c1084091ecf5824e283
tree26c163078c255bb5354f9a49d77f7a154187884d
parent05f88574d54ace6f2cc268ee14e4492673a70a97
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", changed
messages that start with lower case to upper case.
* 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 and
error message text.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127126 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/invoke.texi
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/parameter_unused.f90