[patch, fortran] Fix PR 48847, bogus "unused parameter" warning
Thomas Koenig
tkoenig@netcologne.de
Sun Feb 5 10:12:00 GMT 2012
Hello world,
the attached, rather obvious patch fixed a bogus "unused parameter"
warning with procedure dummy arguments and warns about these if
they occur.
Regression-tested. OK for trunk? Or rather wait until 4.8?
Thomas
2012-02-05 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/48847
* trans-decl.c: Warn about unused dummy procedure arguments
if -Wunused-dummy-argument is specified. Suppress middle-end
warnings about procedure arguments.
2012-02-05 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/48847
* gfortran.dg/warn_unused_dummy_argument_3.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p2.diff
Type: text/x-patch
Size: 958 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120205/bc6c7807/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: warn_unused_dummy_argument_3.f90
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120205/bc6c7807/attachment.f90>
More information about the Fortran
mailing list