Landing: 2d665597ec6c

Project / Subsystem

gcc / cobol

Date

2026-07-29

Author

James K. Lowden

Commit

2d665597ec6cb4e9f2740d3d4dbccc786687f911

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
2d665597ec6cb4e9f2740d3d4dbccc786687f911
source_type
github
headline
Support SET of NUMERIC type with GnuCOBOL emulation.
tldr
GCC's cobol front-end adds support for the `SET` statement with `NUMERIC` types in GnuCOBOL emulation.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • emulation
  • • language-support
discussion_id_link
—
bugzilla_pr
—
date
2026-07-29T00:00:00.000Z

GCC’s COBOL front-end now supports the SET statement when used with NUMERIC data types, specifically for emulating GnuCOBOL behavior. This involves adding new diagnostic messages, handling a corresponding compiler option (-Wset-numeric), and updating documentation and internal language specifications to reflect this capability.