https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60526
--- Comment #15 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sun Feb 14 17:08:44 2016 New Revision: 233413 URL: https://gcc.gnu.org/viewcvs?rev=233413&root=gcc&view=rev Log: 2016-02-14 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/60526 * decl.c (build_sym): If the name has already been defined as a type, it has a symtree with an upper case letter at the beginning. If such a symtree exists, issue an error and exit. Don't do this if there is no corresponding upper case letter. 2016-02-14 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/60526 * gfortran.dg/type_decl_4.f90: Reinstated. Added: trunk/gcc/testsuite/gfortran.dg/type_decl_4.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog