Landing: 560cbc9c3483

Project / Subsystem

gcc / fortran

Date

2026-09-21

Author

Mikael Morin

Commit

560cbc9c348309359512b8de64116dc26204f9e1

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
560cbc9c348309359512b8de64116dc26204f9e1
source_type
github
headline
fortran: Dereference elements of span-addressed character arrays
tldr
Ensures correct dereferencing for span-addressed character arrays in Fortran.
author
Mikael Morin
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • fortran
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-09-21T00:00:00.000Z

This commit corrects an issue in the Fortran compiler where span-addressed character arrays were not always dereferenced, leading to type mismatches. The exception that omitted dereferencing when the pointer target type had the string flag set has been removed. This ensures that span-based pointer arithmetic accesses consistently result in the expected data type, preventing regressions when switching between different array access methods.