Landing: 2a4f36222246
Project / Subsystem
gcc / gcc/fortran
Date
2026-08-10
Author
Christopher Albert
Commit
2a4f36222246480d3b66957be3582db084698a32
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/fortran
- patch_id
- —
- commit_hash
- 2a4f36222246480d3b66957be3582db084698a32
- source_type
- github
- headline
- fortran: Diagnose allocatable PROCEDURE results early
- tldr
- Fortran compiler now diagnoses PROCEDURE and ALLOCATABLE result conflicts earlier for better diagnostics.
- author
- Christopher Albert
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • diagnostics
- • correctness
- • gcc
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-10T00:00:00.000Z
The Fortran compiler front-end now diagnoses conflicts between PROCEDURE and ALLOCATABLE attributes on function results before they are redirected to a hidden procedure pointer. This change ensures that attribute conflicts are checked against the original declaration, leading to more accurate and understandable diagnostics for developers.