Landing: b590dc3fdc0a
Project / Subsystem
gcc / libgomp
Date
2026-09-02
Author
Tobias Burnus
Commit
b590dc3fdc0aeb9bcd923cfd22778a0864102101
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libgomp
- patch_id
- —
- commit_hash
- b590dc3fdc0aeb9bcd923cfd22778a0864102101
- source_type
- github
- headline
- Libgomp corrects USM global variable handling comment and adds test.
- tldr
- Fixes a comment in libgomp about Uniform Memory Access (USM) and adds a test case for global static variables within 'target' blocks.
- author
- Tobias Burnus
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libgomp
- • OpenMP
- • USM
- • testing
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-02T00:00:00.000Z
This commit corrects a comment in libgomp regarding the handling of global static variables within ‘target’ structured blocks when Uniform Memory Access (USM) is enabled. The previous comment incorrectly stated that these variables would be address-translated, potentially causing issues. The compiler actually optimizes this by directly accessing the host variable, avoiding address translation. A new testcase verifies this correct behavior, addressing PR 127186.