This assumes that the patch http://gcc.gnu.org/ml/fortran/2007-12/msg00075.html has been applied. It fixes most PR 34342, PR 34345, PR 18026 and PR 29471.
Missing: -std=f2003 does not detect most invalid BOZ, only (i) BOZ for non-integers in DATA statements and (ii) in assignments () are detected. -- Summary: BOZ diagnost invalid Fortran 2003 use with -std=f2003 warnings Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34392