It would be nice if -Wall would warn that the syntax is wrong if one has a comma after write() or read() [see example below].
program test implicit none write(*,*), 'Hello' end program test Such commas are not part of the standard, though several compilers digest them happily, but not all. Thus it would be nice if such non-standard things could be found. NAG f95,e.g., stumbles over the ,: Error: test.f90, line 3: syntax error detected at )@, ***Malformed statement [f95 terminated - errors found by pass 1] -- Summary: Warn when having superflous comma after read() or write() Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tobias dot burnus at physik dot fu-berlin dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28245