[PATCH, fortran] Fix numerous ICEs in IO statements with IOMSG

2015-07-05 Thread Steve Kargl
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 * io.c (check_char_variable): New function. (match_open_element, match_close_element, match_file_element,

Re: [PATCH, fortran] Fix numerous ICEs in IO statements with IOMSG

2015-07-06 Thread FX
> 2015-07-05 Steven G. Kargl > > * 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 > > * gfortran.dg/i