This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libf2c/4392: Error with list directed format on internal file - ERR=XXX ignored
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libf2c/4392: Error with list directed format on internal file - ERR=XXX ignored
- From: David dot Billinghurst at riotinto dot com
- Date: 25 Sep 2001 12:08:45 -0000
- Reply-To: David dot Billinghurst at riotinto dot com
>Number: 4392
>Category: libf2c
>Synopsis: Error with list directed format on internal file - ERR=XXX ignored
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 25 05:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: David Billinghurst
>Release: g77 2.95.3 and 3.1
>Organization:
>Environment:
i686-pc-cygwin
>Description:
Attached program dumps core when run. (Yes, I know it does not conform to Fortran 77 standard).
Works as expected when:
* string is not empty, eg a = 'x', or
* if a format specifier is supplied.
g77 -O0 bug.f
./a.exe
list in: end of file
apparent state: internal I/O
lately reading direct formatted internal IO
0 [sig] a 1188 open_stackdumpfile: Dumping stack trace to a.exe.stackdump
Aborted (core dumped)
>How-To-Repeat:
g77 -o bug.exe -O0 bug.f
./bug
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="bug.f"
Content-Disposition: inline; filename="bug.f"
real x
character*8 a
a = ' '
read(a,*,err=999) x
999 continue
end