https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83590
--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #3) > (In reply to Jakub Jelinek from comment #2) > > Created attachment 43098 [details] > > gcc8-pr83590.patch > > > Can you give this a spin? > > Will do. The patch looks good for openmp, only the usual failures: ... FAIL: libgomp.c/target-32.c (test for excess errors) FAIL: libgomp.c/target-33.c execution test FAIL: libgomp.c/target-34.c execution test FAIL: libgomp.c/target-link-1.c execution test FAIL: libgomp.c/thread-limit-2.c (test for excess errors) FAIL: libgomp.fortran/target2.f90 -O0 execution test FAIL: libgomp.fortran/target2.f90 -O1 execution test ... For openacc, the regressions are gone. [ But I see new failures. I've investigated the first failure, and it's due to a missing cuda.h, which seems to have gone missing on my nvidia testing laptop. I'm currently reinstalling, and will retest asap. ]