[Bug libfortran/14906] New: [gfortran] Run-time error on empty format

bdavis9659 at comcast dot net gcc-bugzilla@gcc.gnu.org
Sat Apr 10 14:49:00 GMT 2004


$ cat b.f
! from NIST test FM406.FOR
         CHARACTER*10 A10VK
         A10VK = 'XXXXXXXXXX'
         WRITE(A10VK,39110)
39110    FORMAT()
         PRINT*,A10VK
         END
$ gfortran b.f
$ ./a.out
At line 4 of file b.f
Fortran runtime error: Unexpected element in format
()
 ^
$ g77 b.f
$ ./a.out
            
$ gfortran --version
GNU Fortran 95 (GCC 3.5-tree-ssa 20040410 (merged 20040331))

-- 
           Summary: [gfortran] Run-time error on empty format
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis9659 at comcast dot net
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list