re PR fortran/29916 ([4.1 only] Dimension of a function result as host association...
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 4 Dec 2006 11:16:12 +0000 (11:16 +0000)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 4 Dec 2006 11:16:12 +0000 (12:16 +0100)
commit98bbe5ee70747aff4449f719a0b3f00a9b72d5b0
tree145d253b5815ed37a21759852507374e98f2f254
parentaad741f435aac46420c6294df03e0f78ee177747
re PR fortran/29916 ([4.1 only] Dimension of a function result as host association does not work)

fortran/
2006-12-04  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/29916
    * resolve.c (resolve_symbol): Allow host-associated variables
      in the specification expression of an array-valued function.
    * expr.c (check_restricted): Accept host-associated dummy
      array indices.

testsuite/
2006-12-04  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/29916
    * gfortran.dg/host_dummy_index_1.f90: Added additional test.

From-SVN: r119489
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/host_dummy_index_1.f90