This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 48847, bogus "unused parameter" warning
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 5 Feb 2012 10:08:57 -0800
- Subject: Re: [patch, fortran] Fix PR 48847, bogus "unused parameter" warning
- References: <4F2E55F1.2070207@netcologne.de>
On Sun, Feb 05, 2012 at 11:12:01AM +0100, Thomas Koenig wrote:
> 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?
>
You need a space after TREE_NO_WARNING. I think that the
patch can be applied now given its simplicity.
--
Steve