Landing: 311dfcad0ed8

Project / Subsystem

gcc / cobol

Date

2026-09-19

Author

Robert Dubner

Commit

311dfcad0ed8164e944921f8cdf61a3e059cb89b

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
311dfcad0ed8164e944921f8cdf61a3e059cb89b
source_type
github
headline
cobol: Eliminate -Werror failure.
tldr
Fixes a cobol compiler build failure caused by an unused static function when warnings are treated as errors.
author
Robert Dubner
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • build
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-09-19T00:00:00.000Z

A static function passby_str() in gcc/cobol/parse.y was declared but never used, causing a -Werror build failure. This commit comments out the unused function to resolve the issue.