On Fri, Dec 16, 2016 at 4:16 AM, Jerry DeLisle <jvdeli...@charter.net> wrote: > Hi all, > > The attached patch regression tested on x86-64-linux. > > This adds a static function to allocate and extract the DT format string > that may contain doubled quotes. > > OK for trunk, test case also attched.
Ok, thanks. > > Jerry > > 2016-12-16 Jerry DeLisle <jvdeli...@gcc.gnu.org> > > PR fortran/78622 > * io.c (format_lex): Continue of string delimiter seen. > > 2016-12-16 Jerry DeLisle <jvdeli...@gcc.gnu.org> > > PR libgfortran/78622 > * io/transfer.c (get_dt_format): New static function to alloc > and set the DT iotype string, handling doubled quotes. > (formatted_transfer_scalar_read, > formatted_transfer_scalar_write): Use new function. -- Janne Blomqvist