public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/58857] New: [OOP] CLASS wrongly rejected in BLOCK DATA
@ 2013-10-23 21:31 burnus at gcc dot gnu.org
  2013-10-29 23:06 ` [Bug fortran/58857] " burnus at gcc dot gnu.org
  2013-12-14 17:06 ` janus at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-10-23 21:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58857
           Summary: [OOP] CLASS wrongly rejected in BLOCK DATA
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

Found when working on PR 44350.

The following code is rejected by gfortran, but it seems to be valid:

BLOCK DATA valid
  class(*) :: zz
  pointer :: zz
END BLOCK DATA valid


gfortran prints 4 times the bogus:
  pointer :: zz
               1
Error: PRIVATE attribute not allowed in BLOCK DATA program unit at (1)


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

end of thread, other threads:[~2013-12-14 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-23 21:31 [Bug fortran/58857] New: [OOP] CLASS wrongly rejected in BLOCK DATA burnus at gcc dot gnu.org
2013-10-29 23:06 ` [Bug fortran/58857] " burnus at gcc dot gnu.org
2013-12-14 17:06 ` janus at gcc dot gnu.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).