http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-27 07:50:05 UTC --- Looks like an invalid (logical) UNIT number to me. You either need to have an integer literal/parameter/variable, a character variable or a "*" for UNIT=. I think you intended to write instead of: > READ ('(') // 'A)', var READ (*,'(' // 'A)') var That is: With unit "*" and with the ")" not after "')'" but after 'A)'. Additional, the comma before "var" is not allowed (but a common vendor extension).