This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] PR31129 - warning on unused parameters
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Tobias Schlüter <Tobias dot Schlueter at physik dot uni-muenchen dot de>
- Cc: Daniel Franke <franke dot daniel at gmail dot com>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 9 Jul 2007 15:19:51 +0100
- Subject: Re: [patch, fortran] PR31129 - warning on unused parameters
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=cGg19ZAdqgDxa2KSACoUP7GSb6pm18QKU+jHQQ2gm3N1CXxuHzAM5wVVH9CsbYuGgWgtmBoaHv6PJ5X6PGLAfqtk/zPHOG3x667fWOeB27ccPX4jsIcK4M1eNYcv+ZsUeT9xbwE081QbqxDHMrYBUEL8bZvyYkiUh10xYf37qiY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=thVZ3xhJouNXCJcodUJPzD24AoLpnaej6GbySloQvLvzwioF6vlVzMjmYGJ7o0Wmxin1IKNbWhixEZFatDcqr/6+XlxPHrZsHIe/6M9uXwxrheeREHuMgtB8ppG5TWRrzTAExj+o7lAzKN9zjYx8y+MQgU6e90/XdnHcVcUHc6g=
- References: <640ad44b0707090509p565ae078t37bda16bc6276eb1@mail.gmail.com> <640ad44b0707090536p5dfb71f1k456a1b43ebd87e5a@mail.gmail.com> <46923D3C.7020604@physik.uni-muenchen.de>
2007-07-09 Daniel Franke <franke.daniel@gmail.com>
PR fortran/31129
* trans-decl.c (generate_local_decl) Emit a warning if an
unused
parameter is found.
2007-07-09 Daniel Franke <franke.daniel@gmail.com>
PR fortran/31129
* gfortran.dg/parameter_unused.f90: New test.
I think this is definitely ok, but since I've not done much work
lately, you may want to wait for someone else to chime in.
It's OK for me too, I think you can go ahead and commit.
Thanks,
FX