Landing: 787c7e0c01f0

Project / Subsystem

gcc / fortran

Date

2026-08-19

Author

Jerry DeLisle

Commit

787c7e0c01f091291edeb2471367119ca6f438e7

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
787c7e0c01f091291edeb2471367119ca6f438e7
source_type
github
headline
Fortran loads span of span-addressed dummies on entry.
tldr
Fixes incorrect array addressing for span-addressed dummies in outlined regions.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • fortran
  • • array
  • • openmp
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-08-19T00:00:00.000Z

Fortran procedures using assumed-shape dummy arguments addressed through their descriptor’s span now correctly load this span into a local variable on entry. Previously, the span was reloaded from the descriptor at each element reference, causing issues within outlined regions (like OpenMP target regions) where the descriptor was not mapped, leading to dereferencing a host pointer and using garbage data.