https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58557
--- Comment #4 from janus at gcc dot gnu.org --- (In reply to janus from comment #3) > Here is a 'corrected' version of the test case: > > [...] > > which yields with 4.9 trunk: > > c0.f90:51:0: internal compiler error: in > gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1472 > b = [ f_class_array(1) ] The ICE is gone since version 7. The only problems that might still be existing are the memory leaks mentioned in comment 0 (haven't checked).