2008-10-05 Paul Thomas <pault@gcc.gnu.org>
commit02ceaa6d6f78058dd79c3f745b96aaad5e554c00
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Oct 2008 18:53:19 +0000 (5 18:53 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Oct 2008 18:53:19 +0000 (5 18:53 +0000)
treec71ab288ceb2e57f96381fd328e65086481e70be
parent2d97a789288b1675c3cf8ea08c5b8b0cfd4b9806
2008-10-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/35680
* gfortran.h : Add 'error' bit field to gfc_expr structure.
* expr.c (check_inquiry): When checking a restricted expression
check that arguments are either variables or restricted.
(check_restricted): Do not emit error if the expression has
'error' set.  Clean up detection of host-associated variable.

2008-10-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/35680
* gfortran.dg/transfer_array_intrinsic_5.f90: New test.

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