Landing: 39a6b7de56eb

Project / Subsystem

gcc / libgfortran

Date

2026-08-28

Author

Jerry DeLisle

Commit

39a6b7de56ebd7091c092a4b07fed3809f10544d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libgfortran
patch_id
—
commit_hash
39a6b7de56ebd7091c092a4b07fed3809f10544d
source_type
github
headline
libgfortran: Terminate all images on ERROR STOP in caf_shmem
tldr
Ensures ERROR STOP in Fortran coarrays terminates all participating images, preventing deadlocks.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • libgfortran
  • • coarray
  • • fortran
  • • error handling
  • • f2023
discussion_id_link
—
bugzilla_pr
—
date
2026-08-28T00:00:00.000Z

This change modifies the Fortran coarray shared memory implementation to correctly handle ERROR STOP statements. Previously, an ERROR STOP on one image would cause other images to block indefinitely on subsequent synchronization operations. Now, ERROR STOP correctly initiates error termination across all images in the team, preventing deadlocks and ensuring consistent program termination behavior.