Landing: 422810aa9c9c

Project / Subsystem

gcc / cobol

Date

2026-09-17

Author

Xavier Del Campo Romero

Commit

422810aa9c9c6a43af786da31333c814042cd61c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
422810aa9c9c6a43af786da31333c814042cd61c
source_type
github
headline
Cobol: Include passing method in error diagnostics
tldr
Cobol compiler now specifies passing method (BY REF/VAL/CONTENT) in error messages.
author
Xavier Del Campo Romero
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • diagnostics
  • • error handling
discussion_id_link
—
bugzilla_pr
—
date
2026-09-17T00:00:00.000Z

The cobol compiler now includes the passing method (e.g., BY REFERENCE, BY VALUE) in error messages related to argument type compatibility. This provides clearer diagnostics to developers, especially when data types appear compatible but an error occurs due to the passing mechanism.