diff options
author | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-21 22:19:44 +0000 |
---|---|---|
committer | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-21 22:19:44 +0000 |
commit | 9b798767627fdf43ec8ed6be7ac73490bb67d04d (patch) | |
tree | a864f5e30903844711d63682be1f1973b173b564 /libgfortran | |
parent | e458f5c029bebea23ae097c13515026296df1db5 (diff) | |
download | gcc-9b798767627fdf43ec8ed6be7ac73490bb67d04d.tar.gz |
2014-03-21 Jerry DeLisle <jvdelisle@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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208759 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 6 | ||||
-rw-r--r-- | libgfortran/io/transfer.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 2dcea7d94bb..6d92f9a655f 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2014-03-21 Jerry DeLisle <jvdelisle@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. + 2014-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> * configure.ac: Check for presence of fcntl. diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c index cadbcabeda4..cfe92ca0655 100644 --- a/libgfortran/io/transfer.c +++ b/libgfortran/io/transfer.c @@ -2674,7 +2674,8 @@ data_transfer_init (st_parameter_dt *dtp, int read_flag) 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; } |