]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/29464 ([4.1 only] problem with duplicate USE, ONLY of procedure in...
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 9 Dec 2006 20:52:27 +0000 (20:52 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 9 Dec 2006 20:52:27 +0000 (20:52 +0000)
commit1027275d2e6e9c34d1703406111ca2d7cab150dc
treee1bb0983bc4f7aef81f313ba20585da56a4b546a
parent4d4074e415dbf2029f49bef9fe48ed79c8c5a106
re PR fortran/29464 ([4.1 only] problem with duplicate USE, ONLY of procedure in INTERFACE)

2006-11-25  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-25  Paul Thomas  <pault@gcc.gnu.org>

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

From-SVN: r119696
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/module.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/module_interface_2.f90 [new file with mode: 0644]