Landing: dfc1acffcd52
Project / Subsystem
gcc / cobol
Date
2026-07-28
Author
James K. Lowden
Commit
dfc1acffcd52d0ae0fbc155f221ea7091a2f39b9
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- dfc1acffcd52d0ae0fbc155f221ea7091a2f39b9
- source_type
- github
- headline
- cobol: Cast assigned 0x8D to char to quell warning
- tldr
- Fixes a signed/unsigned char warning in the COBOL lexer by explicitly casting a hex value.
- author
- James K. Lowden
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • warning
- • lexer
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-28T00:00:00.000Z
The COBOL compiler’s lexer incorrectly issued a warning when assigning the hexadecimal value 0x8D to a character type. This commit resolves the issue by explicitly casting the value to char, satisfying the compiler’s type checking and suppressing the diagnostic warning, ensuring cleaner build outputs.