OSDN Git Service

2007-05-12 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 May 2007 06:19:43 +0000 (06:19 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 May 2007 06:19:43 +0000 (06:19 +0000)
commit659c6e2f682ab68d443451fec414509df1c06910
treedd588c8fbf0e9cef5549e43a87d6b2ca8e4a03a1
parent92276e9320c8b2fe75728b4db0af158995e723da
2007-05-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30746
* resolve.c (check_host_association): New function that detects
incorrect host association and corrects it.
(gfc_resolve_expr): Call the new function for variables and
functions.
* match.h : Remove prototype for gfc_match_rvalue.
* gfortran.h : Add prototype for gfc_match_rvalue.

2007-05-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30746
* gfortran.dg/host_assoc_function_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124633 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/match.h
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/host_assoc_function_1.f90 [new file with mode: 0644]