This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19259] ";" as first nonblank character on a line should be an error
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Mar 2012 15:32:58 +0000
- Subject: [Bug fortran/19259] ";" as first nonblank character on a line should be an error
- Auto-submitted: auto-generated
- References: <bug-19259-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19259
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-03-13 15:32:58 UTC ---
As someone just CCed him-/herself to this bug report:
Fortran 2008 allows a single semicolon in a line. Thus, gfortran starting from
GCC 4.6 allows (again) that lines just contain a ";". Use -std=f95 or
-std=f2003 to print an error.