This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50071] gfortran does not distinguish labels in different type scoping units


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.morin@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.morin@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]