http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56575
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> 2013-03-13 06:36:10 UTC --- Author: pault Date: Wed Mar 13 06:36:02 2013 New Revision: 196628 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196628 Log: 2013-03-13 Paul Thomas <pa...@gcc.gnu.org> PR fortran/56575 * expr.c (gfc_default_initializer): Check that a class declared type has any components. * resolve.c (resolve_fl_derived0): On failing the test for C437 set the type to BT_UNKNOWN to prevent repeat error messages. 2013-03-13 Paul Thomas <pa...@gcc.gnu.org> PR fortran/56575 * gfortran.dg/class_56.f90: New test. Modified: branches/gcc-4_6-branch/gcc/fortran/ChangeLog branches/gcc-4_6-branch/gcc/fortran/expr.c branches/gcc-4_6-branch/gcc/fortran/resolve.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog