Landing: 175b499a7062

Project / Subsystem

gcc / cobol

Date

2026-09-17

Author

Xavier Del Campo Romero

Commit

175b499a706229543b00d338a75a3e8f32ac0f43

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
175b499a706229543b00d338a75a3e8f32ac0f43
source_type
github
headline
cobol: Fix undefined loc for CALL args
tldr
Cobol compiler now prevents undefined location information for CALL arguments.
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

This commit fixes an issue where Cobol CALL arguments could lead to diagnostics reporting undefined line or column numbers. By ensuring proper location tracking for arguments, including numeric literals, the compiler now generates accurate and meaningful error messages, preventing confusing output like arbitrary line numbers.