[Patch, fortran] PR35945 and PR36700
Paul Richard Thomas
paul.richard.thomas@gmail.com
Thu Sep 18 14:22:00 GMT 2008
Both these PRs originate were caused by previous patches of mine and
both involve host association. The fixes are straightforward and the
tests are the reporters'.
Bootstrapped and regtested on x86_ia64/FC8
OK for trunk?
Paul
PS Sorry this is not a context diff.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 3865 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080918/3095e694/attachment.bin>
More information about the Fortran
mailing list