Landing: 26e3c0bcc4e3

Project / Subsystem

gcc / cobol

Date

2026-09-04

Author

Robert Dubner

Commit

26e3c0bcc4e385d90189fd89561d2746a4d8c860

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
26e3c0bcc4e385d90189fd89561d2746a4d8c860
source_type
github
headline
COBOL STRING and UNSTRING routines refactored for speed.
tldr
COBOL STRING/UNSTRING routines are now specialized for single-byte and multi-byte character sets, significantly speeding up single-byte operations.
author
Robert Dubner
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • performance
  • • optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-09-04T00:00:00.000Z

The COBOL STRING and UNSTRING statement implementations have been refactored into separate routines optimized for single-byte character sets and multi-byte character sets. This specialization leads to substantial performance improvements when processing single-byte encoded strings, which is a common use case.