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/33541] gfortran wrongly imports renamed-use-associated symbol unrenamed



------- Comment #8 from pault at gcc dot gnu dot org  2007-11-24 10:17 -------
Subject: Bug 33541

Author: pault
Date: Sat Nov 24 10:17:26 2007
New Revision: 130395

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130395
Log:
2007-11-24  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/33541
        * module.c (find_symtree_for_symbol): Move to new location.
        (find_symbol): New function.
        (load_generic_interfaces): Rework completely so that symtrees
        have the local name and symbols have the use name.  Renamed
        generic interfaces exclude the use of the interface without an
        ONLY clause (11.3.2).
        (read_module): Implement 11.3.2 in the same way as for generic
        interfaces.

2007-11-24  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/33541
        * gfortran.dg/nested_modules_1.f90: Change the reference to
        FOO, forbidden by the standard, to a reference to W.
        * gfortran.dg/use_only_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/use_only_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/module.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/nested_modules_1.f90


-- 


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


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