Committed revision 208759.

Index: io/transfer.c
===================================================================
--- io/transfer.c       (revision 208755)
+++ io/transfer.c       (working copy)
@@ -2674,7 +2674,8 @@ data_transfer_init (st_parameter_dt *dtp, int read
   if (dtp->u.p.current_unit->delim_status == DELIM_UNSPECIFIED)
     {
       if (ionml && dtp->u.p.current_unit->flags.delim == DELIM_UNSPECIFIED)
-       dtp->u.p.current_unit->delim_status = DELIM_QUOTE;
+       dtp->u.p.current_unit->delim_status =
+         compile_options.allow_std & GFC_STD_GNU ? DELIM_QUOTE : DELIM_NONE;
       else
        dtp->u.p.current_unit->delim_status = 
dtp->u.p.current_unit->flags.delim;
     }

If std= was used at compile time for std=f95, f2003, f2008, set the default
delimiter to 'NONE' if not otherwise specified.

2014-03-21  Jerry DeLisle  <jvdeli...@gcc.gnu>

        PR libfortran/60148
        * io/transfer.c (data_transfer_init): If std= was specified, set
        delim status to DELIM_NONE of no other was specified.

Reply via email to