Landing: 9b581f22b00a

Project / Subsystem

gcc / cobol

Date

2026-08-23

Author

James K. Lowden

Commit

9b581f22b00aa0c06c560e5ed44f04af3f9d2f5c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
9b581f22b00aa0c06c560e5ed44f04af3f9d2f5c
source_type
github
headline
Cobol compiler respects syntax-only mode in code generation.
tldr
Cobol compiler now avoids crashes in syntax-only mode by returning early in code generation.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • compiler
  • • error handling
  • • syntax
discussion_id_link
—
bugzilla_pr
—
date
2026-08-23T00:00:00.000Z

The Cobol compiler has been updated to properly honor the syntax-only mode during code generation. If syntax-only mode is active, the compiler will now return immediately without processing operands, preventing potential crashes that could occur when errors are encountered.