Landing: 64f2dcffc342

Project / Subsystem

gcc / cobol

Date

2026-09-17

Author

Xavier Del Campo Romero

Commit

64f2dcffc34274ac9877630d33d776745952a90a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
64f2dcffc34274ac9877630d33d776745952a90a
source_type
github
headline
cobol: Show location for invalid arg in CALL
tldr
Cobol CALL argument errors now show the argument's location, not the procedure division's.
author
Xavier Del Campo Romero
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • compiler
  • • diagnostics
discussion_id_link
—
bugzilla_pr
—
date
2026-09-17T00:00:00.000Z

The Cobol compiler now correctly reports the source code location of an invalid argument within a CALL statement. Previously, errors related to incorrect arguments would report the location of the PROCEDURE DIVISION instead of the specific argument causing the issue. This change improves diagnostic accuracy by pinpointing the exact location of the problem.