re PR fortran/38765 (ICE in check_host_association)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 10 Jan 2009 00:11:18 +0000 (00:11 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 10 Jan 2009 00:11:18 +0000 (00:11 +0000)
commit9be3684bdd98f40b323958bc5f083c62846fc45b
treeb072b2ba7152e78d40188108776d2150ce04ea35
parent8b791297bfc5e1dd776fab8ee7b772143838f03a
re PR fortran/38765 (ICE in check_host_association)

2009-01-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38765
* resolve.c (check_host_association): Use the symtree name to
search for a potential contained procedure, since this is the
name by which it would be referenced.

2009-01-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38765
* gfortran.dg/host_assoc_function_6.f90: New test.

From-SVN: r143237
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/host_assoc_function_6.f90 [new file with mode: 0644]