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/47203] USE of module with same name as SUBROUTINE not reject, but also not working


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

--- Comment #3 from Mikael Morin <mikael at gcc dot gnu.org> 2013-01-09 20:18:50 UTC ---
Author: mikael
Date: Wed Jan  9 20:18:44 2013
New Revision: 195065

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195065
Log:
    PR fortran/47203
    * module.c (check_for_ambiguous): Get the current program unit using
    gfc_current_ns.

    PR fortran/47203
    * gfortran.dg/use_28.f90: New test.


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