[Bug fortran/43899] Wrong unused-variable warning with NAMELISTs
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Thu Jun 20 10:15:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43899
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |WONTFIX
--- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> This latest patch gets rid of the bogus unused warning.
> Remaining, but not real important is to warn on an unused namelist.
> I think this will involve marking namelists as used when resolving
> or translating I/O statements and then at some point, scan for any
> namelists not marked. I almost think its not worth it, but will
> leave this opened until others weigh in on it.
>
> Even if a namelist is used, a particular variable within it may
> not be used. For example, if the users nml file does not contain
> an assignment for a particular variable in the list, it will remain
> unused. No value in the read operation.
No activity since over two years. Closing as WONTFIX. Please reopen if I am
wrong.
More information about the Gcc-bugs
mailing list