Landing: 7cfe4a5f97ec

Project / Subsystem

gcc / cobol

Date

2026-06-11

Author

Robert Dubner

Commit

7cfe4a5f97ec98622c85c071f9b093631c0fd167

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
commit_hash
7cfe4a5f97ec98622c85c071f9b093631c0fd167
source_type
github
headline
Gcc Cobol improves `MOVE NumericDisplay TO COMP-3` performance.
tldr
The GCC Cobol compiler optimizes the `MOVE NumericDisplay TO COMP-3` operation, significantly improving its execution speed.
author
Robert Dubner
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • cobol
  • performance
  • optimization
  • code generation
discussion_id_link
bugzilla_pr
date
2026-06-11T00:00:00.000Z

The GCC Cobol compiler now executes MOVE NumericDisplay TO COMP-3 statements more quickly. This speedup comes from introducing a specialized mh_numdisp_to_packed function in move.cc and enabling __gg__char_national in parse.y. The change improves the efficiency of converting character-based numeric data to a packed-decimal format, a common operation in Cobol programs.