Landing: a0d865a303a1
Project / Subsystem
gcc / cobol
Date
2026-07-16
Author
James K. Lowden
Commit
a0d865a303a1a9a3b0ebcedd625dddab181231d4
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- a0d865a303a1a9a3b0ebcedd625dddab181231d4
- source_type
- github
- headline
- Cobol accepts parenthesized sign conditions and improves diagnostics
- tldr
- Cobol parser now accepts parenthesized sign conditions and provides better diagnostics for invalid device name usage.
- author
- James K. Lowden
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • parser
- • diagnostics
- • bugfix
- discussion_id_link
- github:gcc-mirror/gcc#126002
- bugzilla_pr
- —
- date
- 2026-07-16T00:00:00.000Z
The Cobol compiler’s parser has been updated to correctly accept sign conditions enclosed in parentheses, resolving an issue reported in PR126002. Additionally, new, specific diagnostics have been introduced to catch invalid uses of device names outside of a SELECT statement, improving error reporting for developers.