https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104423
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 52438 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52438&action=edit Tentative patch (GOMP_TARGET_ENV_ITER) A more generic solution using env var GOMP_TARGET_ENV_ITER, which allows us to specify: GOMP_TARGET_ENV_ITER="GOMP_NVPTX_JIT _ -O0".