From patchwork Sat Jul 10 17:54:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [fortran] PR38407 - add -W[no-]unused-dummy-argument X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 58493 Message-Id: To: Daniel Franke Cc: fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org Date: Sat, 10 Jul 2010 19:54:58 +0200 (CEST) From: Gerald Pfeifer List-Id: Hi Daniel, On Thu, 20 May 2010, Daniel Franke wrote: > Attached patch seperates warnings for unused variables and unused dummy > arguments. > > > gcc/fortran/: > 2010-05-20 Daniel Franke > > PR fortran/38407 > * lang.opt (Wunused-dummy-argument): New option. any chance you could add a note to http://gcc.gnu.org/gcc-4.6/changes.html? documenting this? In fact, let me suggest a patch below. Okay? Gerald --- changes.html.orig 2010-07-05 19:24:52.000000000 +0200 +++ changes.html 2010-07-10 19:54:11.000000000 +0200 @@ -181,6 +181,11 @@ statement. +
  • A new command-line option -Wunused-dummy-argument warns + about unused dummy arguments and is included in -Wall. + The original -Wunused-parameter option no longer warns + about unused dummy arguments (and is not part of -Wall + but only -Wextra).
  • Java (GCJ)