Landing: 36da5957271c

Project / Subsystem

gcc / cobol

Date

2026-09-30

Author

Robert Dubner

Commit

36da5957271c9fec602e87099149a2c1572df360

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
36da5957271c9fec602e87099149a2c1572df360
source_type
github
headline
cobol: Decrease middle-end processing time with better GENERIC.
tldr
Optimizes COBOL initialization by batching GENERIC nodes and using library calls.
author
Robert Dubner
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • optimization
  • • performance
discussion_id_link
—
bugzilla_pr
—
date
2026-09-30T00:00:00.000Z

This commit significantly improves the middle-end processing time for COBOL code, reducing it by factors of three to five. It achieves this by collecting variable initialization into table-driven library calls and by grouping GENERIC nodes into batches for more efficient processing. These changes streamline how COBOL variable initializations are handled, leading to faster compilation for COBOL programs.