[Patch, Fortran] PR37420 - Fix -Wunused-variable.
Tobias Burnus
burnus@net-b.de
Tue Sep 9 18:08:00 GMT 2008
With the support for warning about unset result variables, printing a
warning about other unused variables got disabled. The solution is to
move sym->mark down.
sym->mask = sym->result->mark is unneeded. If the function name = result
name then sym->result is a pointer to sym and if not, then setting
sym->mask is not needed.
Build and check-gfortran regtested on x86-64-linux.
OK for the trunk?
Tobias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: warn.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080909/47535b26/attachment.ksh>
More information about the Fortran
mailing list