On mem-ref2 branch gfortran.dg/dynamic_dispatch_6.f03 is miscompiled due to TBAA issues as the Frontend uses two completely unrelated structure types to access the same vtable pointer.
That of course can't work. -- Summary: Dynamic dispatch uses broken types Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44596