Landing: f2a73defb7bd

Project / Subsystem

gcc / cobol

Date

2026-09-17

Author

Xavier Del Campo Romero

Commit

f2a73defb7bd6705d99075c1fd066d43356c0e73

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
f2a73defb7bd6705d99075c1fd066d43356c0e73
source_type
github
headline
cobol: Accept arbitrarily-sized PIC X for ANY LENGTH
tldr
Cobol parser now accepts any PIC X(n) for ANY LENGTH parameters under MF dialect.
author
Xavier Del Campo Romero
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • compiler
  • • dialect
discussion_id_link
—
bugzilla_pr
—
date
2026-09-17T00:00:00.000Z

Under the MF dialect, the Cobol compiler now correctly accepts arbitrary-sized PIC X(n) data items when they are used as formal parameters declared with PIC X ANY LENGTH. This change ensures that the compiler properly handles variable-length character data passed between programs.