Landing: 687457ca8af0
Project / Subsystem
gcc / cobol
Date
2026-09-28
Author
James K. Lowden
Commit
687457ca8af0a5ee48c8bc52b0da4aa5c5ebb9bd
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- 687457ca8af0a5ee48c8bc52b0da4aa5c5ebb9bd
- source_type
- github
- headline
- Add Wvalue-clause to permit superfluous trailing blanks in VALUE clause.
- tldr
- New cobol option allows trailing blanks in VALUE clauses that exceed item size.
- author
- James K. Lowden
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • warning
- • standards
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-28T00:00:00.000Z
A new compiler option, -Wvalue-clause, has been introduced for cobol. This option permits trailing blanks in VALUE clauses that exceed the defined space of the data item. Previously, the ISO standard dictated that such trailing blanks would be deemed an error, but this change allows them to be treated as harmless.