public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/20125] New: gfortran - backspace on binary files errors @ 2005-02-21 23:17 dir at lanl dot gov 2005-02-21 23:29 ` [Bug libfortran/20125] " pinskia at gcc dot gnu dot org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: dir at lanl dot gov @ 2005-02-21 23:17 UTC (permalink / raw) To: gcc-bugs I don't know if backspace ever works, but while trying to run some calculations the read after a backspace got some run time errors, crashed, and sometimes hung the program - [dir:~/tests/gfortran] dir% gfortran -o backspace backspace.f [dir:~/tests/gfortran] dir% backspace At line 5 of file backspace.f Fortran runtime error: End of file [dir:~/tests/gfortran] dir% cat backspace.f program main i=1 write(3)i backspace 3 read(3)i stop end -- Summary: gfortran - backspace on binary files errors Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dir at lanl dot gov CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: powerpc-apple-darwin7.8.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20125 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/20125] gfortran - backspace on binary files errors 2005-02-21 23:17 [Bug fortran/20125] New: gfortran - backspace on binary files errors dir at lanl dot gov @ 2005-02-21 23:29 ` pinskia at gcc dot gnu dot org 2005-02-21 23:47 ` pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-02-21 23:29 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-21 19:36 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |19292 nThis| | Status|UNCONFIRMED |NEW Component|fortran |libfortran Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-02-21 19:36:16 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20125 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/20125] gfortran - backspace on binary files errors 2005-02-21 23:17 [Bug fortran/20125] New: gfortran - backspace on binary files errors dir at lanl dot gov 2005-02-21 23:29 ` [Bug libfortran/20125] " pinskia at gcc dot gnu dot org @ 2005-02-21 23:47 ` pinskia at gcc dot gnu dot org 2005-04-03 8:04 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-02-21 23:47 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-21 19:49 ------- Note backspace does work in some testcases but how many and what the situation I don't know right. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20125 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/20125] gfortran - backspace on binary files errors 2005-02-21 23:17 [Bug fortran/20125] New: gfortran - backspace on binary files errors dir at lanl dot gov 2005-02-21 23:29 ` [Bug libfortran/20125] " pinskia at gcc dot gnu dot org 2005-02-21 23:47 ` pinskia at gcc dot gnu dot org @ 2005-04-03 8:04 ` cvs-commit at gcc dot gnu dot org 2005-04-03 8:08 ` cvs-commit at gcc dot gnu dot org 2005-04-03 8:10 ` fxcoudert at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-04-03 8:04 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-03 08:04 ------- Subject: Bug 20125 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: fxcoudert@gcc.gnu.org 2005-04-03 08:04:04 Modified files: gcc/testsuite : ChangeLog libgfortran : ChangeLog libgfortran/io : backspace.c Added files: gcc/testsuite/gfortran.dg: backspace.f Log message: PR libfortran/20068 PR libfortran/20125 PR libfortran/20156 PR libfortran/20471 * io/backspace.c (unformatted_backspace): Fix error in arithmetic. (st_backspace): When in WRITING mode, we flush and falling back into READING mode. In all cases, correctly position the stream. * gfortran.dg/backspace.f: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.90&r2=1.5084.2.91 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/backspace.f.diff?cvsroot=gcc&only_with_tag=gcc-4_0-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=gcc-4_0-branch&r1=1.163.2.13&r2=1.163.2.14 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/backspace.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.9&r2=1.9.12.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20125 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/20125] gfortran - backspace on binary files errors 2005-02-21 23:17 [Bug fortran/20125] New: gfortran - backspace on binary files errors dir at lanl dot gov ` (2 preceding siblings ...) 2005-04-03 8:04 ` cvs-commit at gcc dot gnu dot org @ 2005-04-03 8:08 ` cvs-commit at gcc dot gnu dot org 2005-04-03 8:10 ` fxcoudert at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-04-03 8:08 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-03 08:07 ------- Subject: Bug 20125 CVSROOT: /cvs/gcc Module name: gcc Changes by: fxcoudert@gcc.gnu.org 2005-04-03 08:07:43 Modified files: gcc/testsuite : ChangeLog libgfortran : ChangeLog libgfortran/io : backspace.c Added files: gcc/testsuite/gfortran.dg: backspace.f Log message: PR libfortran/20068 PR libfortran/20125 PR libfortran/20156 PR libfortran/20471 * io/backspace.c (unformatted_backspace): Fix error in arithmetic. (st_backspace): When in WRITING mode, we flush and falling back into READING mode. In all cases, correctly position the stream. * gfortran.dg/backspace.f: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5270&r2=1.5271 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/backspace.f.diff?cvsroot=gcc&r1=1.1&r2=1.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.180&r2=1.181 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/backspace.c.diff?cvsroot=gcc&r1=1.9&r2=1.10 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20125 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/20125] gfortran - backspace on binary files errors 2005-02-21 23:17 [Bug fortran/20125] New: gfortran - backspace on binary files errors dir at lanl dot gov ` (3 preceding siblings ...) 2005-04-03 8:08 ` cvs-commit at gcc dot gnu dot org @ 2005-04-03 8:10 ` fxcoudert at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2005-04-03 8:10 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-03 08:10 ------- Fixed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20125 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-04-03 8:10 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-02-21 23:17 [Bug fortran/20125] New: gfortran - backspace on binary files errors dir at lanl dot gov 2005-02-21 23:29 ` [Bug libfortran/20125] " pinskia at gcc dot gnu dot org 2005-02-21 23:47 ` pinskia at gcc dot gnu dot org 2005-04-03 8:04 ` cvs-commit at gcc dot gnu dot org 2005-04-03 8:08 ` cvs-commit at gcc dot gnu dot org 2005-04-03 8:10 ` fxcoudert 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).