public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/37427]  New: Passed-object dummy argument should be polymorphic
@ 2008-09-08 15:14 domob at gcc dot gnu dot org
  2008-09-08 15:14 ` [Bug fortran/37427] " domob at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: domob at gcc dot gnu dot org @ 2008-09-08 15:14 UTC (permalink / raw)
  To: gcc-bugs

As polymorphic entities are not implemented in gfortran, the handling of
passed-object dummy arguments allows (or requires) them to be declared
non-polymorphic (TYPE(t)) while they should in fact be CLASS(t):

MODULE m

  TYPE :: t
  CONTAINS
    PROCEDURE :: proc
  END TYPE t

CONTAINS

  SUBROUTINE proc (me)
    TYPE(t) :: me ! should be CLASS(t) :: me
  END SUBROUTINE proc

END MODULE m


-- 
           Summary: Passed-object dummy argument should be polymorphic
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: domob at gcc dot gnu dot org


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


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

end of thread, other threads:[~2009-10-07 14:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-08 15:14 [Bug fortran/37427] New: Passed-object dummy argument should be polymorphic domob at gcc dot gnu dot org
2008-09-08 15:14 ` [Bug fortran/37427] " domob at gcc dot gnu dot org
2008-09-08 15:14 ` domob at gcc dot gnu dot org
2009-08-10 10:58 ` domob at gcc dot gnu dot org
2009-10-07 14:05 ` domob 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).