This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44131] [OOP] Using polymorphism in modules unware of derived types fails at run-time
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 May 2010 12:04:49 -0000
- Subject: [Bug fortran/44131] [OOP] Using polymorphism in modules unware of derived types fails at run-time
- References: <bug-44131-19165@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from janus at gcc dot gnu dot org 2010-05-14 12:04 -------
(In reply to comment #1)
> Copying your code into uh.f90 gives
>
> laptop:kargl[204] gfc4x -o z uh.f90
> laptop:kargl[205] ./z
> Derived DoIt
>
> with i686-*-freebsd and x86_64-*-freebsd on trunk.
Yes, the failure is only seen in release 4.5 (where the OOP support is highly
experimental). The problem is fixed on 4.6 trunk.
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Summary|Using polymorfism in modules|[OOP] Using polymorphism in
|unware of derived types |modules unware of derived
|fails at run-time |types fails at run-time
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44131