[Bug libfortran/14746] [gfortran] F edit descriptor creates wrong field width
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 1 01:32:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-04-01 01:32 -------
Subject: Bug 14746
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: pbrook@gcc.gnu.org 2004-04-01 01:32:47
Modified files:
gcc/testsuite : ChangeLog.tree-ssa
libgfortran : ChangeLog
libgfortran/io : read.c write.c
Added files:
gcc/testsuite/gfortran.fortran-torture/execute: f2_edit_1.f90
Log message:
PR 14746
* io/read.c (read_f): Allow a decimal without a leading digit.
* io/write.c (output_float): remove a leading '0' to keep from
overflowing the field (F edit descriptor).
testsuite
* gfortran.fortran-torture/execute/f2_edit_1.f90: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.204&r2=1.1.2.205
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/f2_edit_1.f90.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.36&r2=1.1.2.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/read.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/write.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.8&r2=1.1.2.9
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14746
More information about the Gcc-bugs
mailing list