Landing: 26ba7ae2c5da

Project / Subsystem

gcc / fortran

Date

2026-08-13

Author

Mikael Morin

Commit

26ba7ae2c5dafa759314faa5ed6dfa3b3a159368

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
26ba7ae2c5dafa759314faa5ed6dfa3b3a159368
source_type
github
headline
Fortran CO_BROADCAST shared memory implementation fixes element size.
tldr
Fixes incorrect element size calculation in Fortran's CO_BROADCAST shared memory implementation.
author
Mikael Morin
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • fortran
  • • coarray
  • • performance
discussion_id_link
—
bugzilla_pr
—
date
2026-08-13T00:00:00.000Z

The shared memory implementation of Fortran’s CO_BROADCAST collective subroutine incorrectly used the ‘span’ field of the input descriptor to determine element size. This commit corrects it to use the ‘element length’ field, aligning with other implementations and preventing potential issues, though no observable behavior change occurred due to this specific fix.