re PR fortran/35945 (Complex module-based overloading fails)
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 18 Sep 2008 20:21:03 +0000 (20:21 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 18 Sep 2008 20:21:03 +0000 (20:21 +0000)
commit334e912a93187986aa51b980b30b50b42fa109c5
tree2632203ed364ae97ee9b947de350525a0cbd781e
parent47993132a0d2efb2135b952c0012642eef3a4974
re PR fortran/35945 (Complex module-based overloading fails)

2008-09-18  Paul Thomas  <pault@gcc.gnu.org>

       PR fortran/35945
       * resolve.c (resolve_fl_variable_derived):  Remove derived type
       comparison for use associated derived types.  Host association
       of a derived type will not arise if there is a local derived type
       whose use name is the same.

       PR fortran/36700
       * match.c (gfc_match_call):  Use the existing symbol even if
       it is a function.

2008-09-18  Paul Thomas  <pault@gcc.gnu.org>

       PR fortran/35945
       * gfortran.dg/host_assoc_types_2.f90: New test.

       PR fortran/36700
       * gfortran.dg/host_assoc_call_2.f90: New test.

From-SVN: r140474
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/host_assoc_call_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/host_assoc_types_2.f90 [new file with mode: 0644]