Landing: 4e8b7c1a35b9
Project / Subsystem
gcc / cobol
Date
2026-09-09
Author
James K. Lowden
Commit
4e8b7c1a35b93017ae4a293f2de978cfb70b190a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- 4e8b7c1a35b93017ae4a293f2de978cfb70b190a
- source_type
- github
- headline
- Cobol compiler validates ADD CORRESPONDING operand count.
- tldr
- Cobol compiler now validates ADD CORRESPONDING takes exactly two operands, fixing a bug and preventing an ICE.
- author
- James K. Lowden
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • compiler bug
- • validation
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-09T00:00:00.000Z
The Cobol compiler now enforces that the ADD CORRESPONDING statement must take exactly two operands. This change, which addresses bug RT 3665, provides a more specific error message for incorrect operand counts. Additionally, a related fix prevents an internal compiler error (ICE) that could occur when attempting to use the WRITE statement in syntax-only mode.