public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/27704] New: Incorrect runtime error on multiple OPEN
@ 2006-05-21 16:24 jvdelisle at gcc dot gnu dot org
2006-06-28 5:52 ` [Bug libfortran/27704] " jvdelisle at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-05-21 16:24 UTC (permalink / raw)
To: gcc-bugs
The following should not produce a runtime error.
OPEN(8, FORM = 'unformatted', STATUS = 'scratch')
OPEN(8, FORM = 'unformatted', STATUS = 'scratch')
end
There may be other combinations of arguments to open that should not error,
See the following thread:
http://gcc.gnu.org/ml/fortran/2006-05/msg00307.html
--
Summary: Incorrect runtime error on multiple OPEN
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jvdelisle at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27704
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/27704] Incorrect runtime error on multiple OPEN
2006-05-21 16:24 [Bug libfortran/27704] New: Incorrect runtime error on multiple OPEN jvdelisle at gcc dot gnu dot org
@ 2006-06-28 5:52 ` jvdelisle at gcc dot gnu dot org
2006-07-01 5:20 ` patchapp at dberlin dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-06-28 5:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2006-06-28 05:48 -------
If anyone else has started on this, let me know.
--
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-06-28 05:48:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27704
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/27704] Incorrect runtime error on multiple OPEN
2006-05-21 16:24 [Bug libfortran/27704] New: Incorrect runtime error on multiple OPEN jvdelisle at gcc dot gnu dot org
2006-06-28 5:52 ` [Bug libfortran/27704] " jvdelisle at gcc dot gnu dot org
@ 2006-07-01 5:20 ` patchapp at dberlin dot org
2006-07-04 1:36 ` jvdelisle at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: patchapp at dberlin dot org @ 2006-07-01 5:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from patchapp at dberlin dot org 2006-07-01 05:20 -------
Subject: Bug number PR27704
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-07/msg00006.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27704
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/27704] Incorrect runtime error on multiple OPEN
2006-05-21 16:24 [Bug libfortran/27704] New: Incorrect runtime error on multiple OPEN jvdelisle at gcc dot gnu dot org
2006-06-28 5:52 ` [Bug libfortran/27704] " jvdelisle at gcc dot gnu dot org
2006-07-01 5:20 ` patchapp at dberlin dot org
@ 2006-07-04 1:36 ` jvdelisle at gcc dot gnu dot org
2006-07-04 1:47 ` jvdelisle at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-07-04 1:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jvdelisle at gcc dot gnu dot org 2006-07-04 01:36 -------
Subject: Bug 27704
Author: jvdelisle
Date: Tue Jul 4 01:36:31 2006
New Revision: 115168
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115168
Log:
2006-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/27704
* runtime/error.c (notify_std): Pass common flags into function. Use
flags to show locus of error or warning.
* libgfortran.h: Add enum try. Add prototype for notify_std.
* io/open.c (edit_modes): Allow status="old" and add extension to
allow status="scratch"
*io/list_read.c (nml_read_obj): Update call to notify_std.
*io/io.h: Remove enum try and prototype for notify_std.
*io/transfer.c (read_sf): Update call to notify_std.
*io/format.c (parse_format_list): Update call to notify_std.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/format.c
trunk/libgfortran/io/io.h
trunk/libgfortran/io/list_read.c
trunk/libgfortran/io/open.c
trunk/libgfortran/io/transfer.c
trunk/libgfortran/libgfortran.h
trunk/libgfortran/runtime/error.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27704
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/27704] Incorrect runtime error on multiple OPEN
2006-05-21 16:24 [Bug libfortran/27704] New: Incorrect runtime error on multiple OPEN jvdelisle at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-07-04 1:36 ` jvdelisle at gcc dot gnu dot org
@ 2006-07-04 1:47 ` jvdelisle at gcc dot gnu dot org
2006-07-12 2:16 ` jvdelisle at gcc dot gnu dot org
2006-07-12 2:17 ` jvdelisle at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-07-04 1:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jvdelisle at gcc dot gnu dot org 2006-07-04 01:47 -------
Subject: Bug 27704
Author: jvdelisle
Date: Tue Jul 4 01:47:26 2006
New Revision: 115169
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115169
Log:
2006-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/27704
* gfortran.dg/open_status_3.f90: New test.
* gfortran.dg/fmt_l.f90: Update for new feature.
Added:
trunk/gcc/testsuite/gfortran.dg/open_status_3.f90
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/fmt_l.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27704
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/27704] Incorrect runtime error on multiple OPEN
2006-05-21 16:24 [Bug libfortran/27704] New: Incorrect runtime error on multiple OPEN jvdelisle at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-07-04 1:47 ` jvdelisle at gcc dot gnu dot org
@ 2006-07-12 2:16 ` jvdelisle at gcc dot gnu dot org
2006-07-12 2:17 ` jvdelisle at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-07-12 2:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2006-07-12 02:16 -------
Fixed on 4.2 only. If someone wants this on 4.1 let me know.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27704
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/27704] Incorrect runtime error on multiple OPEN
2006-05-21 16:24 [Bug libfortran/27704] New: Incorrect runtime error on multiple OPEN jvdelisle at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-07-12 2:16 ` jvdelisle at gcc dot gnu dot org
@ 2006-07-12 2:17 ` jvdelisle at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2006-07-12 2:17 UTC (permalink / raw)
To: gcc-bugs
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27704
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-07-12 2:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-21 16:24 [Bug libfortran/27704] New: Incorrect runtime error on multiple OPEN jvdelisle at gcc dot gnu dot org
2006-06-28 5:52 ` [Bug libfortran/27704] " jvdelisle at gcc dot gnu dot org
2006-07-01 5:20 ` patchapp at dberlin dot org
2006-07-04 1:36 ` jvdelisle at gcc dot gnu dot org
2006-07-04 1:47 ` jvdelisle at gcc dot gnu dot org
2006-07-12 2:16 ` jvdelisle at gcc dot gnu dot org
2006-07-12 2:17 ` 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).