Landing: bdcc2f7fd6fc

Project / Subsystem

gcc / cobol

Date

2026-07-27

Author

James K. Lowden

Commit

bdcc2f7fd6fc0ef6b9b892d5e39d7848f977a94d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
commit_hash
bdcc2f7fd6fc0ef6b9b892d5e39d7848f977a94d
source_type
github
headline
Resume COBOL source format after copybook ends.
tldr
COBOL parser correctly resumes source format after processing copybooks.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • cobol
  • parser
  • refactor
discussion_id_link
bugzilla_pr
date
2026-07-27T00:00:00.000Z

The COBOL front-end now correctly resumes the source format after a copybook file has been processed. Previously, changes to the source format directive within a copybook were not properly discarded upon exiting the copybook, leading to incorrect parsing.