Landing: 474e32ba633b

Project / Subsystem

gcc / libgomp

Date

2026-04-10

Author

Thomas Schwinge

Commit

474e32ba633b4e0677b2c8a0be9191fd480ec2f3

Source

github

Impact

5/10

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libgomp
patch_id
commit_hash
474e32ba633b4e0677b2c8a0be9191fd480ec2f3
source_type
github
headline
Libgomp: Fix missing disassociation in target pointer management.
tldr
Addresses a multi-device issue by ensuring that target pointers are disassociated after being associated in OpenMP target regions.
why_it_matters
In multi-device OpenMP environments, failure to disassociate pointers can lead to execution errors. This fix ensures correct pointer management.
author
Thomas Schwinge
impact_score
5
impact_rationale
Fixes a correctness issue in OpenMP target pointer management, but impact is limited to multi-device environments.
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libgomp
  • OpenMP
  • target offload
  • pointer management
discussion_id_link
bugzilla_pr
date
2026-04-10T00:00:00.000Z

The commit addresses an issue where ‘omp_target_disassociate_ptr’ was not called after ‘omp_target_associate_ptr’ in the ‘libgomp.c/omp_target_is_present.c’ test case. This oversight could lead to test failures, especially in multi-device settings. The fix adds the missing disassociation step.