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

            Bug ID: 120771
           Summary: CDF broken
           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: ---

Ran another test, got some new failures.
Please split the issue as you see fit.

/tmp/my.cpy:99:11: warning: CDF skipping: no such variable 'MY-ARCH' (ignored)
   99 |       $END
      |           ^
/tmp/my.cpy:99:11: error: incommensurate comparison is FALSE: %ld = '%s'

happening at

      $IF C-OBS-ARCH = "x86"

* the position output in CDF messaging is still very badly wrong (this may have
to do with comment lines and empty lines and/or included copybooks before the
conditional

* the same conditional is raising the same warning and errors over the complete
file - an unknown directive word should only be warned once

* after gcobol reported it as a warning, it raises an error because of the "not
matching" format - that check should be skipped if the CDF name is unknown (and
directly the $ELSE been taken)

Reply via email to