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

            Bug ID: 120791
           Summary: FR: support for MOVEing pointer to pointer
           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: ---

This is explicit forbidden by standard COBOL (where you need to use SET) but
supported with MF, ACU, GC and likely others.

Compiling with -dialect gnu -dialect mf this raises

error: cannot MOVE 'MEM-POINTER-OUT' (FldPointer) to 'MEM-POINTER-ALT'
(FldPointer)

As there's no clever awk-script usable, this otherwise means to possibly clean
up a lot of old sources [I should be able to work around that for this
codebase].

Reply via email to