[Patch, fortran] PR35680 - [4.3/4.4 regression] ICE on invalid transfer in variable declaration
Paul Richard Thomas
paul.richard.thomas@gmail.com
Sun Oct 5 18:57:00 GMT 2008
Dominique,
Committed to trunk as revision 140892, using an error flag attached to
the expression. This, I am sure can be recycled because there are
several places where a kludge has been made to prevent errors from
being repeated.
I'll do 4.3 later on in the week.
Thanks for the help.
Paul
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: application/octet-stream
Size: 2673 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20081005/a512268c/attachment.obj>
More information about the Fortran
mailing list