Landing: d556f558b9db

Project / Subsystem

gcc / cobol

Date

2026-07-11

Author

James K. Lowden

Commit

d556f558b9db9a136ac9ec4cc804dd899d2e63cd

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
commit_hash
d556f558b9db9a136ac9ec4cc804dd899d2e63cd
source_type
github
headline
COBOL: Accept FD name as CALL parameter.
tldr
COBOL compiler now accepts and warns on file descriptor names as CALL parameters, emulating mainframe behavior.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • cobol
  • mainframe
  • compiler
  • debugging
discussion_id_link
bugzilla_pr
date
2026-07-11T00:00:00.000Z

The GCC COBOL compiler now accepts a file descriptor (FD) name as a parameter to the CALL statement, a nonstandard extension. Currently, it interprets this as a buffer name with a warning, or an error without the ‘-dialect ibm’ option, beginning to address mainframe semantics. A new __funcsig__ macro is also introduced for debugging.