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

             Bug #: 52564
           Summary: Accepts invalid: Missing I/O list after comma
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: w...@earthlink.net


In the following test case, gfortran does not diagnose the missing I/O list
after the comma in the print statement:

program printbug
  print *, 'hello world'
! the following line should not compile:
  print *,
end program

Other compilers do diagnose it.

First noticed on 4.6.1, but is also a problem with 4.8 snapshot.

Reply via email to