Landing: 75be60856749

Project / Subsystem

gcc / fortran

Date

2026-07-24

Author

Paul Thomas

Commit

75be60856749d85ef29358e6ab4f3c48c128589c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
75be60856749d85ef29358e6ab4f3c48c128589c
source_type
github
headline
Fortran: Auto deallocate coarrays allocated in team blocks
tldr
Fortran compiler now automatically deallocates coarrays declared within team blocks, adhering to F2018 standards.
author
Paul Thomas
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • fortran
  • • parallelism
  • • standard compliance
discussion_id_link
—
bugzilla_pr
—
date
2026-07-24T00:00:00.000Z

The Fortran compiler now correctly deallocates coarrays that are allocated within a team block. Previously, these coarrays were not automatically deallocated before the END TEAM statement, violating the F2018 standard. This change ensures compliance by tracking team contexts and stashing allocate expressions for automatic deallocation.