fortran/10843: g77 -ffree-form rejects "GO TO".

toon@moene.indiv.nluug.nl toon@moene.indiv.nluug.nl
Sun May 18 13:05:00 GMT 2003


>Number:         10843
>Category:       fortran
>Synopsis:       g77 -ffree-form rejects "GO TO".
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Sun May 18 12:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Scott Brozell
>Release:        from 2.95 onwards (at least).
>Organization:
>Environment:
All
>Description:
The following code doesn't compile

      GO TO 3
    3 CONTINUE
      END

with g77 -ffree-form.

However, according to the Fortran 90/95 Standard, it is
allowed to have GO TO as alternative to GOTO in free
format source code.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list