This might end up at "won't fix". I don't know whether the program is invalid
(I wouldn't wonder if it were).
Using ifort 11.1, openf95, sunf95, pathf95 and pgif95 the attached program
shows as last logical value "F".
Using NAG f95, g95 and gfortran, it aborts while reading the last logical.
(g77 also fails, but it also fails for the valid (commented out) test case.)
--
Summary: I/O READing logical value beyond end of string
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39072