Landing: a0a4ee875a49

Project / Subsystem

gcc / libgfortran

Date

2026-05-29

Author

Peter Damianov

Commit

a0a4ee875a49c7ffb04e6b7cec709a8cae90d3f8

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libgfortran
patch_id
commit_hash
a0a4ee875a49c7ffb04e6b7cec709a8cae90d3f8
source_type
github
headline
Libgfortran: Use MapViewOfFileEx instead of MapViewOfFileExNuma in caf_shmem
tldr
Libgfortran now uses `MapViewOfFileEx` instead of `MapViewOfFileExNuma` for shared memory, maintaining Windows XP support.
author
Peter Damianov
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libgfortran
  • windows
  • compatibility
  • shared memory
discussion_id_link
bugzilla_pr
date
2026-05-29T00:00:00.000Z

Libgfortran now uses MapViewOfFileEx in caf_shmem instead of MapViewOfFileExNuma when mapping shared memory regions on Windows. This change maintains compatibility with Windows XP, as MapViewOfFileExNuma is only available on Windows Vista and later. Since the code was passing NUMA_NO_PREFERRED_MODE, the behavior is identical, but the older API is used for broader compatibility.