[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Oct 5 18:56:00 GMT 2008
------- Comment #15 from pault at gcc dot gnu dot org 2008-10-05 18:54 -------
Subject: Bug 35680
Author: pault
Date: Sun Oct 5 18:53:19 2008
New Revision: 140892
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140892
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/transfer_array_intrinsic_5.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35680
More information about the Gcc-bugs
mailing list