Landing: 921e86d41efc

Project / Subsystem

gcc / openmp

Date

2026-07-16

Author

Thomas Schwinge

Commit

921e86d41efcbb7b434c1be9561019de5941a899

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
openmp
patch_id
commit_hash
921e86d41efcbb7b434c1be9561019de5941a899
source_type
github
headline
OpenMP: Adjust test scan for 'device_type(host)' handling
tldr
Repairs test case scanning for OpenMP's 'device_type(host)' handling to match actual offload tree dump output.
author
Thomas Schwinge
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • openmp
  • offloading
  • testing
  • gpu
discussion_id_link
bugzilla_pr
date
2026-07-16T00:00:00.000Z

This commit adjusts the tree dump scanning in a libgomp test case (libgomp.c/target-device-type-3.c) to correctly verify the handling of device_type(host) within OpenMP target regions. The previous test directives did not match the actual output generated by the compiler after a related change, leading to ‘UNRESOLVED’ test results. The fix updates the scan patterns and targets to align with the compiler’s behavior when offloading to devices.