https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104285
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |burnus at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED --- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> --- FIXED on mainline (GCC 12). Thanks for the report. It additionally fixes an 'omp declare target link(var)' issue, exposed by omptests's t-same-name-definitions (which now passes). However, test-case writing revealed yet another issue (also related to the link clause), now tracked at PR105015.