This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR18111 - spurious warnings with -W -Wunused
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>, patch <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 18 Aug 2006 09:39:52 -0700
- Subject: Re: [Patch, fortran] PR18111 - spurious warnings with -W -Wunused
- References: <44E54CB9.4070104@wanadoo.fr>
On Fri, Aug 18, 2006 at 07:14:33AM +0200, Paul Thomas wrote:
> 2006-08-18 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/18111
> * trans-decl.c (gfc_build_dummy_array_decl): Before resetting
> reference to backend_decl, set it DECL_ARTIFICIAL.
> (gfc_get_symbol_decl): Likewise for original dummy decl, when
> a copy is made of an array.
> (create_function_arglist): Likewise for the _entry paramter
> in entry_masters.
> (build_entry_thunks): Likewise for dummies in entry thunks.
>
> 2006-08-18 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/18111
> * gfortran.dg/unused_artificial_dummies_1.f90: New test.
>
OK.
--
Steve