The following is valid according to the F2008 FDIS, but it does not make sense
and is invalid according the the first rounds of interpretation for F08/0030.

gfortran currently ends in an endless loop for the example:

    print 20
 20 format ( *('a') )
end

As it is a constraint, one needs to diagnose it during compilation, but should
also add it to libgfortran if the string is not checkable.

Cf. http://j3-fortran.org/doc/meeting/193/10-199.txt has for F08/0030

EDITS to 10-007:

[246:15] After C1002 in 10.3.1, add a new constraint:

  "C1002A (R1005) An <unlimited-format-item> shall contain at least
                  one data edit descriptor."

The rest of the request seems to be already covered by gfortran's
implementation.


-- 
           Summary: [F2008,corrig1] Endless loop with unlimited edit
                    descriptor
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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

Reply via email to