[patch, libgfortran] PR63460 namelist read from STDIN

Jerry DeLisle jvdelisle@charter.net
Sun Oct 5 21:21:00 GMT 2014


Committed as obvious.  Missed it on my earlier patch.

2014-10-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/63460
	* io/unit.c (init_units): Initialize the DELIM flag to
	UNSPECIFIED for the STDIN unit so that the flag is
	correctly set later.

r215908


Index: unit.c
===================================================================
--- unit.c	(revision 215870)
+++ unit.c	(working copy)
@@ -580,6 +580,7 @@ init_units (void)
        u->flags.position = POSITION_ASIS;
        u->flags.sign = SIGN_SUPPRESS;
        u->flags.decimal = DECIMAL_POINT;
+      u->flags.delim = DECIMAL_UNSPECIFIED;
        u->flags.encoding = ENCODING_DEFAULT;
        u->flags.async = ASYNC_NO;
        u->flags.round = ROUND_UNSPECIFIED;



More information about the Gcc-patches mailing list