https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81691
Bug ID: 81691 Summary: libgomp.fortran/target2.f90 fails for nvptx at -O0 and -O1 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- The test fails as follows: ... Executing on nvidia-1-serial: ./target2.exe (timeout = 300) './target2.exe'; echo XYZ$?ZYX libgomp: cuCtxSynchronize error: an illegal memory access was encountered libgomp: cuMemFreeHost error: an illegal memory access was encountered libgomp: device finalization failed XYZ1ZYX OK> Elapsed time: 555 ms FAIL: libgomp.fortran/target2.f90 -O1 execution test ...