r196627 - in /branches/gcc-4_7-branch/gcc: fort...

pault@gcc.gnu.org pault@gcc.gnu.org
Wed Mar 13 05:32:00 GMT 2013


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  <pault@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  <pault@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



More information about the Gcc-cvs mailing list