public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/27575] New: gfortran - does not generate error when trying to read too much data
@ 2006-05-12 16:56 dir at lanl dot gov
2006-05-14 23:47 ` [Bug libfortran/27575] " jvdelisle at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: dir at lanl dot gov @ 2006-05-12 16:56 UTC (permalink / raw)
To: gcc-bugs
This program writes one word and then reads two words. g77 finds the error but
gfortran does not -
[dranta:~/tests/gfortran-D] dir% gfortran -o read01 read01.f
[dranta:~/tests/gfortran-D] dir% read01
[dranta:~/tests/gfortran-D] dir% cat read01.f
program test
integer i1,i2
open(unit=11,form='unformatted')
write(11)i1
close(11,status='keep')
open(unit=11,form='unformatted')
rewind 11
read(11)i1,i2
close(11,status='delete')
stop
end[dranta:~/tests/gfortran-D] dir% gfortran --v
Using built-in specs.
Target: powerpc-apple-darwin8.6.0
Configured with: ../gcc/configure --prefix=/Users/dir/gfortran
--enable-languages=c,f95
Thread model: posix
gcc version 4.2.0 20060511 (experimental)
[dranta:~/tests/gfortran-D] dir% g77 -o read01 read01.f
[dranta:~/tests/gfortran-D] dir% read01
do_us: off end of record
apparent state: unit 11 named fort.11
lately reading sequential unformatted external IO
Abort
[dranta:~/tests/gfortran-D] dir%
--
Summary: gfortran - does not generate error when trying to read
too much data
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dir at lanl dot gov
GCC target triplet: powerpc-apple-darwin8.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27575
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libfortran/27575] gfortran - does not generate error when trying to read too much data
2006-05-12 16:56 [Bug libfortran/27575] New: gfortran - does not generate error when trying to read too much data dir at lanl dot gov
@ 2006-05-14 23:47 ` jvdelisle at gcc dot gnu dot org
2006-05-15 6:48 ` jvdelisle at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-05-14 23:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2006-05-14 23:46 -------
Confirmed.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-05-14 23:46:50
date| |
Summary|gfortran - does not generate|gfortran - does not generate
|error when trying to read |error when trying to read
|too much data |too much data
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27575
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libfortran/27575] gfortran - does not generate error when trying to read too much data
2006-05-12 16:56 [Bug libfortran/27575] New: gfortran - does not generate error when trying to read too much data dir at lanl dot gov
2006-05-14 23:47 ` [Bug libfortran/27575] " jvdelisle at gcc dot gnu dot org
@ 2006-05-15 6:48 ` jvdelisle at gcc dot gnu dot org
2006-05-15 19:45 ` patchapp at dberlin dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-05-15 6:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jvdelisle at gcc dot gnu dot org 2006-05-15 06:48 -------
Patch is on its way.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27575
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libfortran/27575] gfortran - does not generate error when trying to read too much data
2006-05-12 16:56 [Bug libfortran/27575] New: gfortran - does not generate error when trying to read too much data dir at lanl dot gov
2006-05-14 23:47 ` [Bug libfortran/27575] " jvdelisle at gcc dot gnu dot org
2006-05-15 6:48 ` jvdelisle at gcc dot gnu dot org
@ 2006-05-15 19:45 ` patchapp at dberlin dot org
2006-05-17 0:37 ` jvdelisle at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: patchapp at dberlin dot org @ 2006-05-15 19:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from patchapp at dberlin dot org 2006-05-15 19:45 -------
Subject: Bug number PR27575
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00638.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27575
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libfortran/27575] gfortran - does not generate error when trying to read too much data
2006-05-12 16:56 [Bug libfortran/27575] New: gfortran - does not generate error when trying to read too much data dir at lanl dot gov
` (2 preceding siblings ...)
2006-05-15 19:45 ` patchapp at dberlin dot org
@ 2006-05-17 0:37 ` jvdelisle at gcc dot gnu dot org
2006-05-17 0:41 ` jvdelisle at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-05-17 0:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jvdelisle at gcc dot gnu dot org 2006-05-17 00:37 -------
Subject: Bug 27575
Author: jvdelisle
Date: Wed May 17 00:36:53 2006
New Revision: 113837
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113837
Log:
2006-05-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/27575
* io/transfer.c (read_block): Add check for end file condition.
(read_block_direct): Add check for end file condition.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/transfer.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27575
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libfortran/27575] gfortran - does not generate error when trying to read too much data
2006-05-12 16:56 [Bug libfortran/27575] New: gfortran - does not generate error when trying to read too much data dir at lanl dot gov
` (3 preceding siblings ...)
2006-05-17 0:37 ` jvdelisle at gcc dot gnu dot org
@ 2006-05-17 0:41 ` jvdelisle at gcc dot gnu dot org
2006-05-30 4:44 ` jvdelisle at gcc dot gnu dot org
2006-05-30 23:28 ` jvdelisle at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-05-17 0:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2006-05-17 00:41 -------
Subject: Bug 27575
Author: jvdelisle
Date: Wed May 17 00:40:23 2006
New Revision: 113838
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113838
Log:
2006-05-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/27575
* gfortran.dg/read_eof_4.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/read_eof_4.f90
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27575
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libfortran/27575] gfortran - does not generate error when trying to read too much data
2006-05-12 16:56 [Bug libfortran/27575] New: gfortran - does not generate error when trying to read too much data dir at lanl dot gov
` (4 preceding siblings ...)
2006-05-17 0:41 ` jvdelisle at gcc dot gnu dot org
@ 2006-05-30 4:44 ` jvdelisle at gcc dot gnu dot org
2006-05-30 23:28 ` jvdelisle at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-05-30 4:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jvdelisle at gcc dot gnu dot org 2006-05-30 04:44 -------
If someone wants this fix in 4.1, let me know, otherwise I will close this bug
shortly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27575
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug libfortran/27575] gfortran - does not generate error when trying to read too much data
2006-05-12 16:56 [Bug libfortran/27575] New: gfortran - does not generate error when trying to read too much data dir at lanl dot gov
` (5 preceding siblings ...)
2006-05-30 4:44 ` jvdelisle at gcc dot gnu dot org
@ 2006-05-30 23:28 ` jvdelisle at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-05-30 23:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jvdelisle at gcc dot gnu dot org 2006-05-30 23:28 -------
Fixed on 4.2 only
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27575
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-05-30 23:28 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-12 16:56 [Bug libfortran/27575] New: gfortran - does not generate error when trying to read too much data dir at lanl dot gov
2006-05-14 23:47 ` [Bug libfortran/27575] " jvdelisle at gcc dot gnu dot org
2006-05-15 6:48 ` jvdelisle at gcc dot gnu dot org
2006-05-15 19:45 ` patchapp at dberlin dot org
2006-05-17 0:37 ` jvdelisle at gcc dot gnu dot org
2006-05-17 0:41 ` jvdelisle at gcc dot gnu dot org
2006-05-30 4:44 ` jvdelisle at gcc dot gnu dot org
2006-05-30 23:28 ` jvdelisle 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).