Landing: cc432cc1fc03

Project / Subsystem

gcc / cobol

Date

2026-05-29

Author

Robert Dubner

Commit

cc432cc1fc03dffe134d52a03bf709c38590cc12

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
commit_hash
cc432cc1fc03dffe134d52a03bf709c38590cc12
source_type
github
headline
GCC Cobol gains speedups, function prototypes, POSIX compatibility.
tldr
This commit improves the execution speed of arithmetic operations and file reads in GCC Cobol, adds function prototypes, and starts implementing a POSIX compat…
author
Robert Dubner
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • cobol
  • optimization
  • posix
  • function prototypes
discussion_id_link
bugzilla_pr
date
2026-05-29T00:00:00.000Z

This commit brings several improvements to GCC Cobol, including faster execution of ADD and SUBTRACT operations with small integer constants on Numeric Display types via specialized code generation. File READ operations on line-sequential files now use a 64K read buffer for increased speed. The compiler now supports COBOL function prototypes. This commit also lays the foundation for a POSIX compatibility layer and introduces a mechanism to detect missing LABEL_EXPR for better code analysis.