[Bug fortran/29464] [4.1 and 4.2 only] problem with duplicate USE, ONLY of procedure in INTERFACE

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 21 14:20:00 GMT 2006



------- Comment #5 from pault at gcc dot gnu dot org  2006-12-21 14:19 -------
Subject: Bug 29464

Author: pault
Date: Thu Dec 21 14:19:40 2006
New Revision: 120110

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

        PR fortran/29464
        * module.c (load_generic_interfaces): Add symbols for all the
        local names of an interface.  Share the interface amongst the
        symbols.
        * gfortran.h : Add generic_copy to symbol_attribute.
        * symbol.c (free_symbol): Only free interface if generic_copy
        is not set.

2006-11-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29464
        * gfortran.dg/module_interface_2.f90: New test.


Added:
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/module_interface_2.f90
Modified:
    branches/gcc-4_2-branch/gcc/fortran/ChangeLog
    branches/gcc-4_2-branch/gcc/fortran/gfortran.h
    branches/gcc-4_2-branch/gcc/fortran/module.c
    branches/gcc-4_2-branch/gcc/fortran/symbol.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list