Landing: 09626b3d0d5a
Project / Subsystem
gcc / cobol
Date
2026-09-17
Author
Xavier Del Campo Romero
Commit
09626b3d0d5a380f94037cd2c4db23f21711302d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- 09626b3d0d5a380f94037cd2c4db23f21711302d
- source_type
- github
- headline
- Cobol: Correct diagnostic for numeric literal parsing
- tldr
- Fixes incorrect diagnostics when COBOL numeric literals are passed as arguments.
- author
- Xavier Del Campo Romero
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • diagnostics
- • parsing
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-17T00:00:00.000Z
This commit corrects a bug in the cobol compiler where a numeric literal was incorrectly expanded to a whitespace character, leading to misleading diagnostics when passed by reference. The fix ensures that numeric literals are correctly represented, resulting in accurate error messages.