Landing: 4918feee536e

Project / Subsystem

gcc / cobol

Date

2026-08-20

Author

James K. Lowden

Commit

4918feee536ef3ef5431f87f0b314f6b03378981

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
4918feee536ef3ef5431f87f0b314f6b03378981
source_type
github
headline
cobol: Allow larger REDEFINES for -dialect ibm.
tldr
COBOL compiler now allows larger REDEFINES areas for IBM dialect, aligning with IBM's relaxed standard.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • standards
discussion_id_link
—
bugzilla_pr
—
date
2026-08-20T00:00:00.000Z

GCC’s COBOL compiler has been updated to permit larger data areas in REDEFINES clauses when using the -dialect ibm option. The ISO standard restricts REDEFINES if the redefining area is larger than the redefined area, with exceptions for level 01 data. The IBM dialect, however, does not impose this size restriction. Additionally, this commit refines the parsing of the -preprocess argument.