[patch, fortran] PR43899 Wrong unused-variable warning with NAMELISTs

Mikael Morin mikael.morin@sfr.fr
Mon Nov 8 12:15:00 GMT 2010


On Monday 08 November 2010 03:59:20 Jerry DeLisle wrote:
> Hi,
> 
> This patch avoids the bogus warning.  Still remaining is to check if a
> namelist is not used somewhere.  I assume we need to scan a namespace.  I
> would like to get this part committed before the last piece.
> 
> Regression tested on x86-64.  OK for trunk?
> 
> Regards,
> 
> Jerry
> 
> 2010-11-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
> 
> 	PR fortran/43899
> 	* trans-decl.c (generate_local_decl): Do not generate unused warning
> 	for variables in namelists.

OK, thanks



More information about the Fortran mailing list