https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128412
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Aha, that's what everyone missed when discussing it.
The following works and should work:
int a [[ omp::decl(declare_target) ]] [100],
b [[ omp::decl(declare_target, link) ]] [100];
Close as INVALID and thanks a lot for the hit!