Landing: 449f8aaf4288

Project / Subsystem

gcc / openmp

Date

2026-07-27

Author

Thomas Schwinge

Commit

449f8aaf4288aca2c5d2464c5f2123313d476f4f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
openmp
patch_id
—
commit_hash
449f8aaf4288aca2c5d2464c5f2123313d476f4f
source_type
github
headline
OpenMP: Simplify test cases for 'declare target' aggregates
tldr
Reduces redundancy in OpenMP test suite by consolidating GPU offload tree dump scanning logic.
author
Thomas Schwinge
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • openmp
  • • offloading
  • • testsuite
discussion_id_link
—
bugzilla_pr
—
date
2026-07-27T00:00:00.000Z

This commit simplifies several test cases in the OpenMP test suite related to constructors and destructors for static aggregates with the declare target directive. Previously, tests for AMD and NVIDIA GPU offloading duplicated identical logic for scanning offload tree dumps. This change consolidates that logic, reducing redundancy and making the test suite more maintainable without affecting test coverage or correctness.