This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31124] Warn of unused PRIVATE module variables/procedures
- From: "terry at chem dot gu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2007 10:27:59 -0000
- Subject: [Bug fortran/31124] Warn of unused PRIVATE module variables/procedures
- References: <bug-31124-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from terry at chem dot gu dot se 2007-11-15 10:27 -------
(In reply to comment #2)
> *** Bug 34092 has been marked as a duplicate of this bug. ***
>
So, to summarise: Unused parameters have been fixed in general, but unused
private module entities remain undetected (as of 4.3.0 20071109). (There must
surely be a piece of code excluding module variables from unused warnings?
That needs to be taught about the private attribute.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31124