This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37445] Host-associated proc not found if same-name generic is use-associated
- 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 Nov 2008 06:46:11 -0000
- Subject: [Bug fortran/37445] Host-associated proc not found if same-name generic is use-associated
- References: <bug-37445-15125@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from pault at gcc dot gnu dot org 2008-11-03 06:46 -------
Subject: Bug 37445
Author: pault
Date: Mon Nov 3 06:44:47 2008
New Revision: 141543
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141543
Log:
2008-11-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/37445
* resolve.c (resolve_actual_arglist ): Correct comparison of
FL_VARIABLE with e->expr_type.
(resolve_call): Check that host association is correct.
(resolve_actual_arglist ): Remove return is old_sym is use
associated. Only reparse expression if old and new symbols
have different types.
PR fortran/PR35769
* resolve.c (gfc_resolve_assign_in_forall): Change error to a
warning.
2008-11-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/37445
* gfortran.dg/host_assoc_call_3.f90: New test.
* gfortran.dg/host_assoc_call_4.f90: New test.
* gfortran.dg/host_assoc_function_4.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/host_assoc_call_3.f90
trunk/gcc/testsuite/gfortran.dg/host_assoc_call_4.f90
trunk/gcc/testsuite/gfortran.dg/host_assoc_function_4.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37445