Landing: f94bbe06bea3
Project / Subsystem
gcc / cobol
Date
2026-07-27
Author
Robert Dubner
Commit
f94bbe06bea3e73e47e3eabbc6ceea81f507d9ad
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- f94bbe06bea3e73e47e3eabbc6ceea81f507d9ad
- source_type
- github
- headline
- cobol: Improve the creation of run-time arrays.
- tldr
- Enhances compile-time creation and initialization of run-time arrays in COBOL.
- author
- Robert Dubner
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • code-generation
- • arrays
- • const-correctness
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-27T00:00:00.000Z
This commit refactors how run-time arrays are created and initialized in the GCC COBOL front-end. It improves the process by establishing these arrays as const where appropriate and adopting current best practices for initializing them using constructors. These changes aim for cleaner and more efficient generation of array structures passed to runtime library routines.