------- 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