]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/37445 (Host-associated proc not found if same-name generic is use-assoc...
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 3 Nov 2008 06:44:47 +0000 (06:44 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 3 Nov 2008 06:44:47 +0000 (06:44 +0000)
commit67cec813c625940ddf829c57f4bfd1c14fd7e563
tree38c4f22cc0df72560dabf9a32280ae9e19eced9d
parent15426fdc53ed6924184279368b106798677ca407
re PR fortran/37445 (Host-associated proc not found if same-name generic is use-associated)

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.

From-SVN: r141543
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/host_assoc_call_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/host_assoc_call_4.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/host_assoc_function_4.f90 [new file with mode: 0644]