[PATCH, fortran] Fix numerous ICEs in IO statements with IOMSG
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Jul 5 18:33:00 GMT 2015
The attached patch fixes numerous ICE's where a program
writed invalid code (see testcase). Regression tested
on i386-*-freebsd. OK to commit?
2015-07-05 Steven G. Kargl <kargl@gcc.gnu.org>
* io.c (check_char_variable): New function.
(match_open_element, match_close_element, match_file_element,
match_dt_element, match_inquire_element, match_wait_element): Use it.
2015-07-05 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/iomsg_2.f90: New test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: io1.diff
Type: text/x-diff
Size: 5792 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150705/576c8d57/attachment.bin>
More information about the Fortran
mailing list