$ cat continuation-2.f90
 &

end
$ gfortran continuation-2.f90
$ cat continuation-3.f90
 &
end
$ gfortran continuation-3.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

Both programs above have the same syntax error: starting a
statement with & is illegal.

-- 
           Summary: continuation character illegal as first non-blank
                    character in statement
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         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=19261

Reply via email to