https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81886
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 42001 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42001&action=edit trunk patch This is a version of the patch for trunk. It introduces some failures for c and c++, but that might be due to allowing more testing: ... FAIL: libgomp.oacc-c-c++-common/lib-74.c -foffload=nvptx-none -O0 execution test FAIL: libgomp.oacc-c-c++-common/lib-74.c -foffload=nvptx-none -O2 execution test FAIL: libgomp.oacc-c-c++-common/lib-78.c -foffload=nvptx-none -O0 execution test FAIL: libgomp.oacc-c-c++-common/lib-78.c -foffload=nvptx-none -O2 execution test FAIL: libgomp.oacc-c-c++-common/lib-83.c -foffload=nvptx-none -O0 execution test FAIL: libgomp.oacc-c-c++-common/lib-83.c -foffload=nvptx-none -O2 execution test FAIL: libgomp.oacc-c-c++-common/parallel-dims.c -foffload=nvptx-none -O0 (test for excess errors) FAIL: libgomp.oacc-c-c++-common/parallel-dims.c -foffload=nvptx-none -O2 (test for excess errors) ...