Landing: c5a1672e9b54
Project / Subsystem
gcc / cobol
Date
2026-08-25
Author
James K. Lowden
Commit
c5a1672e9b54d71285892ae1ba4e1c0d31d87850
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- c5a1672e9b54d71285892ae1ba4e1c0d31d87850
- source_type
- github
- headline
- COBOL: Report copybooks used as diagnostic notes
- tldr
- Compiler now reports used copybooks as diagnostic notes when -Wcopybook-found is enabled.
- author
- James K. Lowden
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • compiler
- • diagnostics
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-25T00:00:00.000Z
When the -Wcopybook-found option is used, the GNU COBOL compiler now reports all opened copybooks as diagnostic notes instead of a simple warning. This change enhances the clarity of the diagnostic output, providing developers with more specific information about which copybooks were included during compilation.