[Bug fortran/37445] Host-associated proc not found if same-name generic is use-associated
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 3 06:47:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list