[Bug libfortran/61049] [4.9/4.10 Regression] NIST test FM906 fails
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Mon May 5 09:16:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61049
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The following patch also fixes this PR (regtested and NIST suite)
--- ../_clean/libgfortran/io/list_read.c 2014-04-27 00:39:19.000000000 +0200
+++ libgfortran/io/list_read.c 2014-05-05 09:53:52.000000000 +0200
@@ -2066,6 +2066,7 @@ list_formatted_read_scalar (st_parameter
&& dtp->u.p.current_unit->decimal_status == DECIMAL_POINT))
{
dtp->u.p.comma_flag = 1;
+ eat_separator (dtp);
goto cleanup;
}
I have no opinion about which patch is better, i.e., I don't have any test
which succeeds with one patch, but fails with the other.
More information about the Gcc-bugs
mailing list