http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47728
Summary: Assigning an object of one type to a class variable leads to an ICE Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: arjen.mar...@deltares.nl The following program produces an internal compiler error: program test_objects implicit none type, abstract :: shape end type type, extends(shape) :: rectangle real :: width, height end type class(shape), dimension(2) :: object object(1) = rectangle( 1.0, 2.0 ) end program test_objects There is no indication as to what is wrong with the program (as Janus, who reduced my original program to this minimal one, remarks: there are at least two)