Landing: b64e38fd7828

Project / Subsystem

gcc / libgomp

Date

2026-07-22

Author

Thomas Schwinge

Commit

b64e38fd78282511462d305057c9005fff25e771

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libgomp
patch_id
commit_hash
b64e38fd78282511462d305057c9005fff25e771
source_type
github
headline
Libgomp: Fix reverse offload capability checking for OpenMP 'omp requires'.
tldr
Correctly checks capabilities for OpenMP reverse offloading, resolving a regression.
author
Thomas Schwinge
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libgomp
  • OpenMP
  • offloading
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-07-22T00:00:00.000Z

This commit corrects an issue in libgomp’s handling of OpenMP ‘requires’ clauses, specifically for reverse offloading to devices. A regression caused tests for NVIDIA GPU offloading to pass incorrectly; this fix ensures accurate capability checking in gomp_target_init, restoring proper behavior for reverse offload executions.