public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/18284] New: BACKSPACE broken
@ 2004-11-03 1:29 bdavis at gcc dot gnu dot org
2004-11-03 14:36 ` [Bug libfortran/18284] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-11-03 1:29 UTC (permalink / raw)
To: gcc-bugs
open(unit=10,access='SEQUENTIAL')
do I = 1,200
write(10,*)I
end do
backspace(10)
backspace(10)
read(10,*)I
print*,I
end
gives a runtime error. it should report "199", just like g77.
--
Summary: BACKSPACE broken
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bdavis at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18284
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/18284] BACKSPACE broken
2004-11-03 1:29 [Bug libfortran/18284] New: BACKSPACE broken bdavis at gcc dot gnu dot org
@ 2004-11-03 14:36 ` pinskia at gcc dot gnu dot org
2004-11-04 3:20 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-03 14:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-03 14:36 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-11-03 14:36:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18284
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/18284] BACKSPACE broken
2004-11-03 1:29 [Bug libfortran/18284] New: BACKSPACE broken bdavis at gcc dot gnu dot org
2004-11-03 14:36 ` [Bug libfortran/18284] " pinskia at gcc dot gnu dot org
@ 2004-11-04 3:20 ` pinskia at gcc dot gnu dot org
2004-11-24 21:42 ` bdavis at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-04 3:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-04 03:20 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00247.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18284
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/18284] BACKSPACE broken
2004-11-03 1:29 [Bug libfortran/18284] New: BACKSPACE broken bdavis at gcc dot gnu dot org
2004-11-03 14:36 ` [Bug libfortran/18284] " pinskia at gcc dot gnu dot org
2004-11-04 3:20 ` pinskia at gcc dot gnu dot org
@ 2004-11-24 21:42 ` bdavis at gcc dot gnu dot org
2004-12-01 12:51 ` coudert at clipper dot ens dot fr
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-11-24 21:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bdavis at gcc dot gnu dot org 2004-11-24 21:42 -------
revised patch:
http://gcc.gnu.org/ml/fortran/2004-11/msg00189.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18284
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/18284] BACKSPACE broken
2004-11-03 1:29 [Bug libfortran/18284] New: BACKSPACE broken bdavis at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-11-24 21:42 ` bdavis at gcc dot gnu dot org
@ 2004-12-01 12:51 ` coudert at clipper dot ens dot fr
2004-12-02 4:29 ` cvs-commit at gcc dot gnu dot org
2004-12-02 13:12 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: coudert at clipper dot ens dot fr @ 2004-12-01 12:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From coudert at clipper dot ens dot fr 2004-12-01 12:50 -------
This is probably the reason why the NIST tests FM108 and FM411 are failing.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |coudert at clipper dot ens
| |dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18284
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/18284] BACKSPACE broken
2004-11-03 1:29 [Bug libfortran/18284] New: BACKSPACE broken bdavis at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-12-01 12:51 ` coudert at clipper dot ens dot fr
@ 2004-12-02 4:29 ` cvs-commit at gcc dot gnu dot org
2004-12-02 13:12 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-02 4:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-02 04:29 -------
Subject: Bug 18284
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bdavis@gcc.gnu.org 2004-12-02 04:29:00
Modified files:
gcc/testsuite : ChangeLog
libgfortran : ChangeLog
libgfortran/io : backspace.c unix.c
Added files:
gcc/testsuite/gfortran.dg: backspace.f90
Log message:
2004-12-02 Bud Davis <bdavis9659@comcast.net>
PR libfortran/18284
* io/unix.c (fd_alloc_w_at): Update file_length when extending.
* io/backspace.c (formatted_backspace): Reset endfile after backspace.
PR fortran/18284
* gfortran.dg/backspace.f90
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4702&r2=1.4703
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/backspace.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.122&r2=1.123
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/backspace.c.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unix.c.diff?cvsroot=gcc&r1=1.15&r2=1.16
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18284
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/18284] BACKSPACE broken
2004-11-03 1:29 [Bug libfortran/18284] New: BACKSPACE broken bdavis at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-12-02 4:29 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-02 13:12 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02 13:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-02 13:12 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18284
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-12-02 13:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-03 1:29 [Bug libfortran/18284] New: BACKSPACE broken bdavis at gcc dot gnu dot org
2004-11-03 14:36 ` [Bug libfortran/18284] " pinskia at gcc dot gnu dot org
2004-11-04 3:20 ` pinskia at gcc dot gnu dot org
2004-11-24 21:42 ` bdavis at gcc dot gnu dot org
2004-12-01 12:51 ` coudert at clipper dot ens dot fr
2004-12-02 4:29 ` cvs-commit at gcc dot gnu dot org
2004-12-02 13:12 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).