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
* [Bug fortran/37427] Passed-object dummy argument should be polymorphic
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 ` domob at gcc dot gnu dot org
2008-09-08 15:14 ` domob at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: domob at gcc dot gnu dot org @ 2008-09-08 15:14 UTC (permalink / raw)
To: gcc-bugs
--
domob at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |domob at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-09-08 15:12:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37427
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/37427] Passed-object dummy argument should be polymorphic
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
3 siblings, 0 replies; 5+ messages in thread
From: domob at gcc dot gnu dot org @ 2008-09-08 15:14 UTC (permalink / raw)
To: gcc-bugs
--
domob at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37427
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/37427] Passed-object dummy argument should be polymorphic
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
3 siblings, 0 replies; 5+ messages in thread
From: domob at gcc dot gnu dot org @ 2009-08-10 10:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from domob at gcc dot gnu dot org 2009-08-10 10:57 -------
After Janus' recent check-in of CLASS parsing, this behaviour is fixed (though
CLASS is not really polymorphic).
I'm not sure if we should close this or keep open until CLASS is fully
implemented. Janus, feel free to close it if you think that's ok.
--
domob at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|domob at gcc dot gnu dot org|unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37427
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/37427] Passed-object dummy argument should be polymorphic
2008-09-08 15:14 [Bug fortran/37427] New: Passed-object dummy argument should be polymorphic domob at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-08-10 10:58 ` domob at gcc dot gnu dot org
@ 2009-10-07 14:05 ` domob at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: domob at gcc dot gnu dot org @ 2009-10-07 14:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from domob at gcc dot gnu dot org 2009-10-07 14:04 -------
At least now this can be considered fully implemented, I think.
--
domob at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
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).