[Bug fortran/43899] Wrong unused-variable warning with NAMELISTs

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 3 15:44:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43899

--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-11-03 15:44:35 UTC ---
The patch in comment 7 and 8 adds a run-time warning (with -fcheck=bounds) if a
string in a namelist gets truncated.

TODO: Comment 0, namely: Don't warn that a variable is unused, if the namelist
to which they belong is used.



More information about the Gcc-bugs mailing list