[Bug fortran/19259] New: ";" as first nonblank character on a line should be an error

Thomas dot Koenig at online dot de gcc-bugzilla@gcc.gnu.org
Wed Jan 5 11:08:00 GMT 2005


$ cat semicolon.f90
;
end
$ gfortran semicolon.f90
$ gfortran -v
Using built-in specs.
Configured with: ../gcc-4.0-20050102/configure --prefix=/home/zfkts
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20050102 (experimental)
$ gfortran -dumpmachine
ia64-unknown-linux-gnu

I think there's a provision in F95 that a ";" shall not appear
as the first nonblank character on a line.

-- 
           Summary: ";" as first nonblank character on a line should be an
                    error
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19259



More information about the Gcc-bugs mailing list