Landing: fcd6b4f2f8cf
Project / Subsystem
gcc / cobol
Date
2026-09-10
Author
James K. Lowden
Commit
fcd6b4f2f8cf7c0ff9002eec048d4bd724334476
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- fcd6b4f2f8cf7c0ff9002eec048d4bd724334476
- source_type
- github
- headline
- Cobol compiler fixes use-after-free and improves ADD CORRESPONDING.
- tldr
- Cobol compiler corrects a use-after-free error and improves operand validation for ADD CORRESPONDING.
- author
- James K. Lowden
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • compiler bug
- • memory safety
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-10T00:00:00.000Z
The Cobol compiler has been updated to fix a use-after-free error by ensuring that the arith_t structure is constructed by value and that reference lists are initialized rather than copied. Additionally, the compiler now validates that the ADD CORRESPONDING statement accepts exactly two operands, addressing a known issue and preventing an internal compiler error (ICE) for WRITE statements in syntax-only mode.