public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/102113] New: parsing error in assigned goto
@ 2021-08-28  7:07 wvermin at gmail dot com
  2021-08-28 16:56 ` [Bug fortran/102113] " kargl at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: wvermin at gmail dot com @ 2021-08-28  7:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102113

            Bug ID: 102113
           Summary: parsing error in assigned goto
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wvermin at gmail dot com
  Target Milestone: ---

This program produces an error:

   program p
      assign 10 to i
      goto i,(10,20 )
10    continue
20    continue
   end program

    3 |       goto i,(10,20 )
      |                    1
Error: Syntax error in GOTO statement at (1)

The error disappears by changing '20 )' into '20)'

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-03 19:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28  7:07 [Bug fortran/102113] New: parsing error in assigned goto wvermin at gmail dot com
2021-08-28 16:56 ` [Bug fortran/102113] " kargl at gcc dot gnu.org
2021-08-30 19:28 ` anlauf at gcc dot gnu.org
2021-08-30 20:55 ` sgk at troutmask dot apl.washington.edu
2021-08-30 21:10 ` cvs-commit at gcc dot gnu.org
2021-08-30 21:15 ` anlauf at gcc dot gnu.org
2021-09-03 19:14 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).