public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/43899]  New: Wrong unused-variable warning with NAMELISTs
@ 2010-04-26 18:03 burnus at gcc dot gnu dot org
  2010-04-26 19:05 ` [Bug fortran/43899] " jvdelisle at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-04-26 18:03 UTC (permalink / raw)
  To: gcc-bugs

Found at
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/4e34a377097524f2

gfortran gives a -Wall warning for a variable which is only used via namelists:
 character(4)  :: nml_string
                            1
Warning: Unused variable 'nml_string' declared at (1)

For:

  character(4)  :: nml_string
  namelist /nmlist/ nml_string
  read(7,nml=nmlist)
  write(*,nml=nmlist)
  end


-- 
           Summary: Wrong unused-variable warning with NAMELISTs
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <bug-43899-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2015-10-10 13:05 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-26 18:03 [Bug fortran/43899] New: Wrong unused-variable warning with NAMELISTs burnus at gcc dot gnu dot org
2010-04-26 19:05 ` [Bug fortran/43899] " jvdelisle at gcc dot gnu dot org
2010-04-26 20:16 ` burnus at gcc dot gnu dot org
2010-05-04  1:56 ` jvdelisle at gcc dot gnu dot org
2010-05-04  4:11 ` jvdelisle at gcc dot gnu dot org
2010-05-04  5:53 ` burnus at gcc dot gnu dot org
     [not found] <bug-43899-4@http.gcc.gnu.org/bugzilla/>
2010-11-03  4:29 ` jvdelisle at gcc dot gnu.org
2010-11-03 15:22 ` jvdelisle at gcc dot gnu.org
2010-11-03 15:28 ` jvdelisle at gcc dot gnu.org
2010-11-03 15:44 ` burnus at gcc dot gnu.org
2010-11-03 17:48 ` jvdelisle at gcc dot gnu.org
2010-11-09  0:08 ` jvdelisle at gcc dot gnu.org
2010-11-09  0:24 ` jvdelisle at gcc dot gnu.org
2010-11-09  0:25 ` jvdelisle at gcc dot gnu.org
2013-06-20 10:15 ` dominiq at lps dot ens.fr
2013-06-20 10:27 ` burnus at gcc dot gnu.org
2013-06-20 14:33 ` dominiq at lps dot ens.fr
2015-10-10 13:05 ` dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).