This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR40629 - Host association problem
- From: Tobias Burnus <burnus at net-b dot de>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: fortran at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 09 Jul 2009 12:10:44 +0200
- Subject: Re: [Patch, fortran] PR40629 - Host association problem
- References: <339c37f20907090242k2643bbefla362d3b4a547865a@mail.gmail.com>
Paul Richard Thomas wrote:
> 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?
>
OK. Thanks for the patch. Can you remove the executable bit before
committal?
> Property changes on: gcc/testsuite/gfortran.dg/host_assoc_function_9.f90
> ___________________________________________________________________
> Name: svn:executable
> + *
Tobias
> 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.
>
>
>