Landing: fb0129bebba3

Project / Subsystem

gcc / cobol

Date

2026-09-28

Author

Robert Dubner

Commit

fb0129bebba38455a28bc1914676c902b2e8fc8f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
fb0129bebba38455a28bc1914676c902b2e8fc8f
source_type
github
headline
Validate and improve numeric-edited PICTURE handling in COBOL.
tldr
Enhances COBOL compiler's validation of numeric-edited PICTURE clauses and corrects MOVE/comparison handling.
author
Robert Dubner
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • standard compliance
discussion_id_link
—
bugzilla_pr
—
date
2026-09-28T00:00:00.000Z

This commit introduces comprehensive validation for numeric-edited PICTURE strings in the COBOL compiler, providing better error messages for incorrect formats. It also aligns the handling of MOVE operations and comparisons involving numeric-display and numeric-edited variables with ISO specifications. These changes improve the compiler’s adherence to standards and robustness when processing numeric data.