This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/23784] New: close doesn't reset ioparm on error exit
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2005 20:07:48 -0000
- Subject: [Bug libfortran/23784] New: close doesn't reset ioparm on error exit
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat close.f90
program main
close(10, status="whatever", iostat=i)
print *,"Hello"
end program main
$ gfortran close.f90
$ ./a.out
At line 3 of file close.f90
Internal Error: Recursive library calls not allowed
$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1/configure --prefix=/home/ig25 --enable-languages=c,f95
Thread model: posix
gcc version 4.1.0 20050908 (experimental)
--
Summary: close doesn't reset ioparm on error exit
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23784