Landing: cb76f7999e84

Project / Subsystem

gcc / cobol

Date

2026-08-23

Author

James K. Lowden

Commit

cb76f7999e84b648df838e4707f7a1a62407f0aa

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
cb76f7999e84b648df838e4707f7a1a62407f0aa
source_type
github
headline
Cobol compiler verifies computational operands are numeric.
tldr
Cobol compiler now validates that operands for ADD, SUBTRACT, MULTIPLY, and DIVIDE are numeric.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • validation
  • • arithmetic
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-23T00:00:00.000Z

The Cobol compiler now performs validation to ensure that operands used in arithmetic operations (ADD, SUBTRACT, MULTIPLY, DIVIDE) are numeric. It also checks that outputs are either numeric or numeric-edited, improving runtime stability by catching potential data type errors early in the compilation process.