This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/19595] New: eor and advance="yes" should not mix
- From: "Thomas dot Koenig at online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2005 20:50:37 -0000
- Subject: [Bug libfortran/19595] New: eor and advance="yes" should not mix
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat eor.f90
program main
character*3 c
open(12)
write(12,'(A)') '123','456'
rewind(12)
read(12,'(A3)',advance='YES',eor=100) c
100 continue
end program main
$ gfortran eor.f90
$ ./a.out
Eor is only legal if advance='NO' is specified. It would be nice
if the above would generate an error.
Thomas
--
Summary: eor and advance="yes" should not mix
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Thomas dot Koenig at online dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19595