[PATCH] PR fortran/66725 -- Fix multiple ICEs
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Jul 4 04:10:00 GMT 2015
It seems that when the matching of various specifiers in
OPEN, CLOSE, and WRITE were written with much confidence
that user would not do something stupid.
The attached patch fixes multiple ICEs. Regression tested
on i386-*-freebsd. OK to commit?
PS: There are other ICEs caused be ill-formed specifiers.
This patch does not address those.
2015-07-03 Steven G. Kargl <kargl@gcc.gnu.org>
* io.c (is_char_type): New function to test for BT_CHARACTER
(gfc_match_open, gfc_match_close, match_dt_element): Use it.
2015-07-03 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/pr66725.f90: New test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: io.diff
Type: text/x-diff
Size: 9408 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150704/239b1a19/attachment.bin>
More information about the Fortran
mailing list