public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17090] New: Runtime I/O error
@ 2004-08-19 3:14 deji_aking at yahoo dot ca
2004-08-19 3:15 ` [Bug fortran/17090] " deji_aking at yahoo dot ca
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-19 3:14 UTC (permalink / raw)
To: gcc-bugs
gfortran seems to have problem reading input files. Attached are the prunned
down code and input data I was trying to use. And here is the error message
>>
[deji@rhema2 model]$ f95 ginput.f90 -o test1
[deji@rhema2 model]$ ./test1
At line 13 of file ginput.f90
Fortran runtime error: End of file
<<
--
Summary: Runtime I/O error
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: deji_aking at yahoo dot ca
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
@ 2004-08-19 3:15 ` deji_aking at yahoo dot ca
2004-08-19 3:19 ` deji_aking at yahoo dot ca
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-19 3:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From deji_aking at yahoo dot ca 2004-08-19 03:15 -------
Created an attachment (id=6956)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6956&action=view)
fortran code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
2004-08-19 3:15 ` [Bug fortran/17090] " deji_aking at yahoo dot ca
@ 2004-08-19 3:19 ` deji_aking at yahoo dot ca
2004-08-19 3:48 ` deji_aking at yahoo dot ca
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-19 3:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From deji_aking at yahoo dot ca 2004-08-19 03:19 -------
Created an attachment (id=6957)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6957&action=view)
sample data
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
2004-08-19 3:15 ` [Bug fortran/17090] " deji_aking at yahoo dot ca
2004-08-19 3:19 ` deji_aking at yahoo dot ca
@ 2004-08-19 3:48 ` deji_aking at yahoo dot ca
2004-08-19 3:49 ` deji_aking at yahoo dot ca
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-19 3:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From deji_aking at yahoo dot ca 2004-08-19 03:48 -------
Pardon me please pple, the test cases above are bad, here are the good ones,
sorry for the confusion.
Tired Deji :),
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
` (2 preceding siblings ...)
2004-08-19 3:48 ` deji_aking at yahoo dot ca
@ 2004-08-19 3:49 ` deji_aking at yahoo dot ca
2004-08-19 3:49 ` deji_aking at yahoo dot ca
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-19 3:49 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #6956 is|0 |1
obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
` (3 preceding siblings ...)
2004-08-19 3:49 ` deji_aking at yahoo dot ca
@ 2004-08-19 3:49 ` deji_aking at yahoo dot ca
2004-08-19 3:50 ` deji_aking at yahoo dot ca
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-19 3:49 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #6957 is|0 |1
obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
` (4 preceding siblings ...)
2004-08-19 3:49 ` deji_aking at yahoo dot ca
@ 2004-08-19 3:50 ` deji_aking at yahoo dot ca
2004-08-19 3:51 ` deji_aking at yahoo dot ca
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-19 3:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From deji_aking at yahoo dot ca 2004-08-19 03:50 -------
Created an attachment (id=6958)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6958&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug fortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
` (5 preceding siblings ...)
2004-08-19 3:50 ` deji_aking at yahoo dot ca
@ 2004-08-19 3:51 ` deji_aking at yahoo dot ca
2004-08-21 13:52 ` [Bug libfortran/17090] " bdavis at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-19 3:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From deji_aking at yahoo dot ca 2004-08-19 03:51 -------
Created an attachment (id=6959)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6959&action=view)
sample input data
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libfortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
` (6 preceding siblings ...)
2004-08-19 3:51 ` deji_aking at yahoo dot ca
@ 2004-08-21 13:52 ` bdavis at gcc dot gnu dot org
2004-08-22 17:25 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-08-21 13:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bdavis at gcc dot gnu dot org 2004-08-21 13:51 -------
Confirmed on i686/gnu/linux.
The list directed parser is confused by the trailing spaces in the input:
160.9989 163.2918 164.4072 165.2249
^^^^^^
(spaces)
As a workaround, if the trailing spaces are removed from the data file the code
runs identical to g77.
--bud
--
What |Removed |Added
----------------------------------------------------------------------------
Component|fortran |libfortran
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libfortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
` (7 preceding siblings ...)
2004-08-21 13:52 ` [Bug libfortran/17090] " bdavis at gcc dot gnu dot org
@ 2004-08-22 17:25 ` pinskia at gcc dot gnu dot org
2004-09-13 1:13 ` bdavis at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-22 17:25 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-08-22 17:25:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libfortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
` (8 preceding siblings ...)
2004-08-22 17:25 ` pinskia at gcc dot gnu dot org
@ 2004-09-13 1:13 ` bdavis at gcc dot gnu dot org
2004-09-14 0:56 ` cvs-commit at gcc dot gnu dot org
2004-09-14 1:19 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-09-13 1:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bdavis at gcc dot gnu dot org 2004-09-13 01:13 -------
proposed patch here:
http://gcc.gnu.org/ml/fortran/2004-09/msg00092.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libfortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
` (9 preceding siblings ...)
2004-09-13 1:13 ` bdavis at gcc dot gnu dot org
@ 2004-09-14 0:56 ` cvs-commit at gcc dot gnu dot org
2004-09-14 1:19 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-14 0:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-14 00:56 -------
Subject: Bug 17090
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bdavis@gcc.gnu.org 2004-09-14 00:56:47
Modified files:
libgfortran : ChangeLog
libgfortran/io : list_read.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gfortran.dg: pr17090.f90
Log message:
2004-09-13 Bud Davis <bdavis9659@comcast.net>
PR fortran/17090
* io/list_read.c (list_formatted_read): Handle trailing spaces
at end of line.
2004-09-13 Bud Davis <bdavis9659@comcast.net>
PR fortran/17090
* gfortran.dg/pr17090.f90: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.85&r2=1.86
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/list_read.c.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4281&r2=1.4282
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr17090.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libfortran/17090] Runtime I/O error
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
` (10 preceding siblings ...)
2004-09-14 0:56 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-14 1:19 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-14 1:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-14 01:19 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17090
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2004-09-14 1:19 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-19 3:14 [Bug fortran/17090] New: Runtime I/O error deji_aking at yahoo dot ca
2004-08-19 3:15 ` [Bug fortran/17090] " deji_aking at yahoo dot ca
2004-08-19 3:19 ` deji_aking at yahoo dot ca
2004-08-19 3:48 ` deji_aking at yahoo dot ca
2004-08-19 3:49 ` deji_aking at yahoo dot ca
2004-08-19 3:49 ` deji_aking at yahoo dot ca
2004-08-19 3:50 ` deji_aking at yahoo dot ca
2004-08-19 3:51 ` deji_aking at yahoo dot ca
2004-08-21 13:52 ` [Bug libfortran/17090] " bdavis at gcc dot gnu dot org
2004-08-22 17:25 ` pinskia at gcc dot gnu dot org
2004-09-13 1:13 ` bdavis at gcc dot gnu dot org
2004-09-14 0:56 ` cvs-commit at gcc dot gnu dot org
2004-09-14 1:19 ` 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).