On Thu, Nov 14, 2019 at 04:47:49PM +0000, Andrew Stubbs wrote: > This patch adds new libgomp tests to ensure that C "printf" and Fortran > "write" work correctly within offload kernels. Both should work for amdgcn, > but nvptx uses the libgfortran "minimal" mode which lacks "write" support.
So, do those *.f90 testcases now FAIL with nvptx offloading? If yes, perhaps there should be effective target check that it is not nvptx offloading. Once the declare variant support is finished, at least in OpenMP it could be handled through that, but Fortran support for that will definitely not make GCC 10. Jakub