Landing: 116cd7bce6b5

Project / Subsystem

gcc / cobol

Date

2026-09-17

Author

Xavier Del Campo Romero

Commit

116cd7bce6b5f6cd43324a48f7a12a20198f1c13

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
116cd7bce6b5f6cd43324a48f7a12a20198f1c13
source_type
github
headline
Cobol: Standardize RETURN-CODE and return variables in CBL_* functions
tldr
Cobol runtime functions now consistently use RETURN-CODE or return variables as documented.
author
Xavier Del Campo Romero
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • libgcobol
  • • documentation
  • • consistency
discussion_id_link
—
bugzilla_pr
—
date
2026-09-17T00:00:00.000Z

This commit standardizes the use of RETURN-CODE and explicit return variables across the CBL_* family of COBOL runtime functions. It aligns the implementation with official documentation, resolving inconsistencies where examples contradicted documented behavior regarding return values, thus improving predictability.