Landing: 723601605a76

Project / Subsystem

gcc / cobol

Date

2026-09-10

Author

James K. Lowden

Commit

723601605a76b955f0a82fcc492dcb11524779d2

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
723601605a76b955f0a82fcc492dcb11524779d2
source_type
github
headline
Cobol compiler adds GnuCOBOL compatibility features.
tldr
Cobol compiler gains GnuCOBOL compatibility features, including new hexadecimal notation and dialect-specific keywords.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • compatibility
  • • language feature
discussion_id_link
—
bugzilla_pr
—
date
2026-09-10T00:00:00.000Z

This update enhances the Cobol compiler’s compatibility with GnuCOBOL by introducing several features. It now supports hexadecimal numeric notation (e.g., h'41' for 65) under the -dialect gnu option and recognizes COBOL-WORDS for intrinsic functions. The changes also include finer distinctions for dialect options and improvements to handling REDEFINES tables and potential undefined behavior in literal subscript out-of-bounds cases.