http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34004
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-12 12:52:42 UTC --- (In reply to comment #6) > The test in comment #0 is accepted and outputs: > $ ./comment_0 > 1 > 2 > $ > > Which seems sensible to me. Well the program in comment 0 is invalid in Fortran 2003 but valid in Fortran 2008 (cf. quotes in comment 0 and comment 5.) Thus, we should reject it with -std=f95/f2003 and accept it with -std=f2008 and later. (Cf. PR 45521)