Landing: fdaa1a57862e
Project / Subsystem
gcc / cobol
Date
2026-09-17
Author
Xavier Del Campo Romero
Commit
fdaa1a57862e313b20c7bb7e134cd02683d3f2be
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- fdaa1a57862e313b20c7bb7e134cd02683d3f2be
- source_type
- github
- headline
- cobol: Set loc for numeric literals BY VALUE
- tldr
- Cobol compiler now tracks locations for BY VALUE numeric literals to improve diagnostics.
- author
- Xavier Del Campo Romero
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • compiler
- • diagnostics
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-17T00:00:00.000Z
The Cobol compiler now correctly sets the source code location for numeric literals used with the BY VALUE clause. This ensures that diagnostics related to these literals, such as type mismatches or invalid values, provide accurate location information, preventing errors in error reporting.