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/31600] Better error message for redeclation of USEd symbols


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31600

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-08-23 12:13:40 UTC ---
Author: burnus
Date: Tue Aug 23 12:13:34 2011
New Revision: 177985

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177985
Log:
2011-08-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/31600
        * symbol.c (gfc_add_type): Better diagnostic if redefining
        use-associated symbol.
        * module.c (gfc_use_module): Use module name as locus.

2011-08-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/31600
        * gfortran.dg/use_16.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/use_16.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/module.c
    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]