https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120194
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2025-05-09 Ever confirmed|0 |1 --- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Are you saying this isn't a defect in GCC, but rather... (In reply to myself from comment #0) > If in 'libgomp.c++/declare_target-1.C', I replace > 'dg-require-effective-target offload_device_shared_as' with > '#pragma omp requires unified_shared_memory' ... this is ill-formed OpenMP? (..., and therefore requires source code changes as you've suggested.)