http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59700
--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > I've started to write a testcase, but the counting of items is > still wrong. Look for the XXX comment in the following code. > ... Confirmed. Replacing the 'call abort' with 'print *, msg', 4.7.4 (r206161) gives [Book15] f90/bug% /opt/gcc/gcc4.7c/bin/gfortran pr59700_1_db.f90 [Book15] f90/bug% a.out Bad logical value while reading item 0 [Book15] So the problem with logical seems older than r203086 (at least as old as 4.4.7). AFAICT there is no coverage of these errors in the test suite.