Landing: c9239e63c63c

Project / Subsystem

gcc / libgfortran

Date

2026-09-19

Author

Jerry DeLisle

Commit

c9239e63c63c1b1558e9b35e3d7940a36d11aaa0

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libgfortran
patch_id
—
commit_hash
c9239e63c63c1b1558e9b35e3d7940a36d11aaa0
source_type
github
headline
libgfortran: Fix STAT= for stopped images in caf_shmem
tldr
Ensures Fortran coarray image control statements correctly report the status of stopped images.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • libgfortran
  • • coarray
  • • fortran
  • • f2023
  • • standard conformance
discussion_id_link
—
bugzilla_pr
—
date
2026-09-19T00:00:00.000Z

This commit rectifies issues in the caf_shmem implementation of Fortran’s coarray features, specifically concerning the handling of stopped images. Image control statements like SYNC ALL and SYNC TEAM, as well as collective subroutines, now correctly report STAT=STAT_STOPPED_IMAGE or STAT=STAT_FAILED_IMAGE when a team contains a terminated image, adhering to the F2023 standard. Previously, these operations could deadlock or block indefinitely.