Landing: d9d90129f6dd

Project / Subsystem

gcc / cobol

Date

2026-09-29

Author

Robert Dubner

Commit

d9d90129f6dd53d2375c5a13a1563c4365e43a2f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
d9d90129f6dd53d2375c5a13a1563c4365e43a2f
source_type
github
headline
Cobol: Improve CALL statement handling with -fno-static-call
tldr
GCC's Cobol compiler now correctly handles CALL statements, especially when they are the last statement or involve exception handling.
author
Robert Dubner
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • compiler
  • • optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-09-29T00:00:00.000Z

This commit enhances the processing of CALL statements in GCC’s Cobol compiler, particularly when the -fno-static-call option is active. It ensures correct behavior for calls that are the final statement in a source module and properly manages the ON EXCEPTION clause, regardless of whether exception processing is enabled.