------- Comment #4 from janus at gcc dot gnu dot org 2010-08-24 11:32 ------- (In reply to comment #3) > Could be a duplicate of PR41784, PR44662 or PR44584. > The fixes for those PRs were not backported to 4.5.
Might be. I'm rather guessing for PR 44064/44065. Actually most of the 34 OOP-related PRs that were fixed on the post-4.5 trunk were not backported. For some a backport is simply not possible since the internal representation was modified heavily. For others it should be possible, but the question is if it's worth the effort (since OOP in 4.5 is marked as experimental anyway and will never be perfect). Btw, the following variant gives me an undefined reference to `vtab$t.1562': module m1 implicit none type :: t contains procedure :: s end type t contains subroutine s(v) class(t), intent(in) :: v end subroutine s end module m1 module m2 use m1 implicit none contains subroutine ss() type(t) :: v call v%s() end subroutine ss end module m2 program pr end program pr The original test case hangs in an infinite loop on my machine. -- janus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-08-24 11:32:10 date| | Summary|internal compiler error: |[OOP] internal compiler |Segmentation fault |error: Segmentation fault http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45395