This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38594] [4.4 Regression] module function name mangled improperly if contained function of same name exists
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2009 17:48:45 -0000
- Subject: [Bug fortran/38594] [4.4 Regression] module function name mangled improperly if contained function of same name exists
- References: <bug-38594-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pault at gcc dot gnu dot org 2009-01-03 17:48 -------
Subject: Bug 38594
Author: pault
Date: Sat Jan 3 17:47:20 2009
New Revision: 143032
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143032
Log:
2009-01-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38594
* resolve.c (resolve_call): When searching for proper host
association, use symtree rather than symbol. For everything
except generic subroutines, substitute the symtree in the call
rather than the symbol.
2009-01-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38594
* gfortran.dg/host_assoc_call_3.f90: Make sure that the generic
interface still works, in addition to original tests.
* gfortran.dg/host_assoc_call_6.f90: New test.
Added:
trunk/gcc/fortran/ChangeLog-2008
trunk/gcc/testsuite/gfortran.dg/host_assoc_call_6.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/host_assoc_call_3.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38594