This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31129] New: No warning on unused parameters


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]