[Patch, fortran] PR18111 - spurious warnings with -W -Wunused

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Aug 18 16:40:00 GMT 2006


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



More information about the Fortran mailing list