Landing: 30907bc0f06b
Project / Subsystem
gcc / fortran
Date
2026-10-04
Author
Jerry DeLisle
Commit
30907bc0f06bbd71e657311cfc43b9dab4e58e35
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- 30907bc0f06bbd71e657311cfc43b9dab4e58e35
- source_type
- github
- headline
- Fix coarray deallocation placement before END TEAM
- tldr
- Ensures coarray deallocation occurs correctly before END TEAM statements.
- author
- Jerry DeLisle
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • coarray
- • parallel programming
- • compiler error
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-10-04T00:00:00.000Z
This commit fixes an ICE (Internal Compiler Error) in the Fortran compiler related to coarray deallocation. It modifies the deallocate_allocated_coarrays function to correctly locate the END TEAM statement by traversing the team block’s code list from the head. The guarded deallocation is then spliced in front of the END TEAM statement, ensuring proper execution order.