[Patch, fortran] PR40629 - Host association problem
Paul Richard Thomas
paul.richard.thomas@gmail.com
Thu Jul 9 10:11:00 GMT 2009
This one is pretty straight forward - I do not know why
gfc_get_sym_tree was being used at all, even though I was the author
:-( The existing symtree can be used, even if it is in the host
namespace. The gcc_assert is probably unnecessary, since the symbol
has been found.
OK for trunk and 4.4?
Cheers
Paul
2008-07-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40629
* resolve.c (check_host_association): Use the existing
accessible symtree and treat function expressions with
symbols that have procedure flavor.
2008-07-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40629
* gfortran.dg/host_assoc_function_9.f90: New test.
--
The knack of flying is learning how to throw yourself at the ground and miss.
--Hitchhikers Guide to the Galaxy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit1.diff
Type: application/octet-stream
Size: 1967 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090709/9d4fe457/attachment.obj>
More information about the Gcc-patches
mailing list