Landing: c401a634f174
Project / Subsystem
gcc / cobol
Date
2026-07-10
Author
Robert Dubner
Commit
c401a634f17436cd486878fd58716be1a5a58165
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- c401a634f17436cd486878fd58716be1a5a58165
- source_type
- github
- headline
- Cobol: Address endian issues.
- tldr
- Resolves significant endianness issues in GCC's COBOL front-end and libgcobol library.
- author
- Robert Dubner
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • endianness
- • cross-platform
- • character set
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-10T00:00:00.000Z
This large patch addresses pervasive endianness issues affecting GCC’s COBOL compiler and its runtime library, libgcobol. Previously, the compiler implicitly assumed little-endian architectures, causing problems with various character set encodings (like UTF-16BE) and making it difficult to support big-endian systems. The changes enable COBOL to correctly handle different endian formats for both data types (BINARY, COMP-5) and execution character sets, significantly improving cross-platform compatibility.