public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34227]  New: initialized symbol in common: Better error message
@ 2007-11-25 19:51 burnus at gcc dot gnu dot org
  2007-11-25 21:20 ` [Bug fortran/34227] initialized symbol in COMMON: Missing checks burnus at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-11-25 19:51 UTC (permalink / raw)
  To: gcc-bugs

character(len=3) :: emname(nmin)=(/'bar','baz'/)
 common/nmstr/emname
end

currently gfortran prints:

   Error: Previously initialized symbol 'emname' in COMMON block 'nmstr' at (1)

If find the error message of NAG f95 better, which mentions that BLOCK DATA can
be used:

   Error: EMNAME has been initialised - can only be COMMON in BLOCK DATA


-- 
           Summary: initialized symbol in common: Better error message
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: enhancement
          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=34227


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-28  4:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-25 19:51 [Bug fortran/34227] New: initialized symbol in common: Better error message burnus at gcc dot gnu dot org
2007-11-25 21:20 ` [Bug fortran/34227] initialized symbol in COMMON: Missing checks burnus at gcc dot gnu dot org
2007-11-28  1:01 ` jvdelisle at gcc dot gnu dot org
2007-11-28  1:09 ` jvdelisle at gcc dot gnu dot org
2007-11-28  4:26 ` jvdelisle at gcc dot gnu dot org

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).