[Bug fortran/45592] [F03] Valid structure constructor rejected for extended types
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45592 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #3 from janus at gcc dot gnu.org 2011-02-19 16:40:09 UTC --- (In reply to comment #2) > This pr seems to have been fixed at revision 170312, probably by revision > 170291 (it looks like a duplicate of pr47789). Yes: http://gcc.gnu.org/viewcvs?view=revision&revision=170291 Definitely a duplicate. Closing as fixed.
[Bug fortran/45592] [F03] Valid structure constructor rejected for extended types
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45592 --- Comment #2 from Dominique d'Humieres 2011-02-19 16:30:56 UTC --- This pr seems to have been fixed at revision 170312, probably by revision 170291 (it looks like a duplicate of pr47789).
[Bug fortran/45592] [F03] Valid structure constructor rejected for extended types
--- Comment #1 from janus at gcc dot gnu dot org 2010-09-08 09:49 --- This problem is apparently related to type extension (but not to abstract types). The following still fails: implicit none type :: pointGen end type pointGen type, extends(pointGen) :: point2d real :: x,y end type type(point2d) :: myPoint myPoint = point2d(2.3, 4.2)! The problem is here myPoint = point2d(x=2.3,y=4.2) ! ok with that end It works when removing the EXTENDS clause. -- janus at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2010-09-08 09:49:09 date|| Summary|[OOP] Valid structure |[F03] Valid structure |constructor rejected|constructor rejected for ||extended types http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45592