http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57530
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> --- Author: burnus Date: Tue Jul 30 07:20:43 2013 New Revision: 201329 URL: http://gcc.gnu.org/viewcvs?rev=201329&root=gcc&view=rev Log: 2013-07-30 Tobias Burnus <bur...@net-b.de> PR fortran/57530 * symbol.c (gfc_type_compatible): A type is type compatible with a class if both have the same declared type. * interface.c (compare_type): Reject CLASS/TYPE even if they are type compatible. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/interface.c trunk/gcc/fortran/symbol.c