------- Comment #2 from burnus at gcc dot gnu dot org 2009-02-01 23:18 ------- If one reads an integer ("i1") instead of a logical variable ("l1"), gfortran/g95/f95 read a "0".
* * * "10.6.2 Logical editing" makes it quite explicit that it is invalid: "The input field consists of optional blanks, optionally followed by a period, followed by a T for true or F for false. The T or F may be followed by additional characters in the field, which are ignored. A lower-case letter is equivalent to the corresponding upper-case letter in a logical input field." Regarding "i1": "10.6.1 Numeric editing": "On input, [...] A field containing only blanks is considered to be zero." -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39072