[Bug libfortran/23784] New: close doesn't reset ioparm on error exit
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 8 20:07:00 GMT 2005
$ 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
More information about the Gcc-bugs
mailing list