Landing: 6a56d7cbb22d

Project / Subsystem

gcc / cobol

Date

2026-09-02

Author

Robert Dubner

Commit

6a56d7cbb22da365540ca0511d980333e9e35610

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
6a56d7cbb22da365540ca0511d980333e9e35610
source_type
github
headline
cobol: Fix EXIT PERFORM CYCLE statement generation
tldr
Correctly generates LABEL_EXPR for EXIT PERFORM CYCLE statements in COBOL.
author
Robert Dubner
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • compiler bug
discussion_id_link
—
bugzilla_pr
—
date
2026-09-02T00:00:00.000Z

A bug in the COBOL compiler’s genapi.cc has been fixed, addressing an issue where EXIT PERFORM CYCLE statements could generate a GOTO_EXPR without a corresponding LABEL_EXPR. This change ensures that the necessary label is created, resolving the incorrect control flow generation.