http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56575
--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> 2013-03-13 05:32:15 UTC --- Author: pault Date: Wed Mar 13 05:32:07 2013 New Revision: 196627 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196627 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. Added: branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/class_56.f90 Modified: branches/gcc-4_7-branch/gcc/fortran/ChangeLog branches/gcc-4_7-branch/gcc/fortran/expr.c branches/gcc-4_7-branch/gcc/fortran/resolve.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog