This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31129] New: No warning on unused parameters
- 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: 11 Mar 2007 01:54:54 -0000
- Subject: [Bug fortran/31129] New: No warning on unused parameters
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I think this is what #31124 is really about.
Consider the following:
program fred
integer::i
integer,parameter::j=9
end
With -Wunused a warning is generated for i, but not j. (At least with my 4.2
prerelease.)
--
Summary: No warning on unused parameters
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: terry at chem dot gu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31129