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

            Bug ID: 120787
           Summary: FR: EXHIBIT + EXHIBIT named support
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: cobol
          Assignee: unassigned at gcc dot gnu.org
          Reporter: simonsobisch at gnu dot org
  Target Milestone: ---

program-id.t.
data Division.
WORKING-STORAGE Section.
01  var  pic x.
PROCEDURE Division.
          EXHIBIT NAMED var.
goback.

compiles with MF and GC, is *not* documented in Enterprise COBOL any more,
raises the following message with gcobol (so seems to be "somehow in"?)

../t.cob:6:11: error: syntax error, unexpected EXHIBIT


Note: EXHIBIT CHANGED is in theory more interesting (as it needs a bunch of
COBOL code to be replaced), but EXHIBIT and EXHIBIT NAMED are easy to do
(converting internally to DISPLAY) and are the ones I see in the codebase I'm
looking at; maybe someone could provide an awk preprocessing to convert that to
the related DISPLAY statement until it is supported (or as a workaround if it
won't be)?

Reply via email to