Landing: b9da28bcd9af
Project / Subsystem
gcc / libgfortran
Date
2026-09-23
Author
Jerry DeLisle
Commit
b9da28bcd9af4053544f191f2393a0c79e3d30ae
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libgfortran
- patch_id
- —
- commit_hash
- b9da28bcd9af4053544f191f2393a0c79e3d30ae
- source_type
- github
- headline
- libgfortran: Prevent waiting for terminated images in caf_shmem
- tldr
- Ensures that Fortran coarray operations do not indefinitely block when an image has terminated.
- author
- Jerry DeLisle
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libgfortran
- • coarray
- • fortran
- • deadlock
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-23T00:00:00.000Z
This commit improves the robustness of Fortran’s coarray shared memory implementation by preventing indefinite blocking on terminated images. When an image stops or fails, it now properly withdraws from team barriers. This allows other waiting images to proceed once barrier counts reach zero, avoiding deadlocks that previously occurred with synchronization statements like SYNC ALL.