http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50071
--- Comment #4 from Mikael Morin <mikael at gcc dot gnu.org> 2011-08-18 21:39:47 UTC --- Author: mikael Date: Thu Aug 18 21:39:42 2011 New Revision: 177882 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177882 Log: 2011-08-18 Mikael Morin <mikael.mo...@sfr.fr> PR fortran/50071 * symbol.c (gfc_get_st_label): Use the derived type namespace when we are parsing a derived type definition. 2011-08-18 Mikael Morin <mikael.mo...@sfr.fr> PR fortran/50071 * gfortran.dg/duplicate_labels_2.f: New test. Added: trunk/gcc/testsuite/gfortran.dg/duplicate_labels_2.f Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/symbol.c trunk/gcc/testsuite/ChangeLog