2008-09-18 Paul Thomas <pault@gcc.gnu.org>
commit7cc3311d5efc983c2a9b399b7fe80a4ddeb50f8a
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Sep 2008 20:21:03 +0000 (18 20:21 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Sep 2008 20:21:03 +0000 (18 20:21 +0000)
tree2632203ed364ae97ee9b947de350525a0cbd781e
parent2a67c7074a3cc4923102c809dfb45d313bd5891b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140474 138bc75d-0d04-0410-961f-82ee72b054a4
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]