]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/gfortran.h
re PR fortran/35680 (ICE on invalid transfer in variable declaration)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 5 Oct 2008 18:53:19 +0000 (18:53 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 5 Oct 2008 18:53:19 +0000 (18:53 +0000)
commitebb479cd4d397e829eed460bd7ac9040204f8b5a
treec71ab288ceb2e57f96381fd328e65086481e70be
parent1d72ff1ac81ad458577b38453c46d115ae21da91
re PR fortran/35680 (ICE on invalid transfer in variable declaration)

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.

From-SVN: r140892
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]