I ran into a peculiar bug with gfortran: program check open( 10, file = 'check.inp', form = 'binary' ) ! Comment end program
(the comment starts at column 132, but the problem actually occurs in a long linje with trailing blanks too) The output from the compiler is: check.f90:2.132: ! 1 Error: FORM specifier in OPEN statement at (1) has invalid value 'binary' Note that the offending code is being omitted, while for shorter lines, the code is visible. This was on Windows XP/MingW, with gfortran 4.3.2 (4.3.2-tdm-1 for MingW) -- Summary: Empty error message with long lines Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: arjen dot markus at deltares dot nl GCC build triplet: i586-pc-mingw32 GCC host triplet: i586-pc-mingw32 GCC target triplet: i586-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40993