Re: [PATCH] PR fortran/66725 -- Fix multiple ICEs

2015-07-03 Thread FX
> 2015-07-03 Steven G. Kargl > > * 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 > * gfortran.dg/pr66725.f90: New test. OK to commit. Thanks! FX

[PATCH] PR fortran/66725 -- Fix multiple ICEs

2015-07-03 Thread Steve Kargl
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 s