From: Kwok Cheung Yeung Date: Fri, 24 Jul 2020 16:50:49 +0000 (-0700) Subject: Fix failure in testcase gfortran.dg/goacc/routine-module-mod-1.f90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bda32d4f79e7b00671fa98958ee880e9c5644af0;p=thirdparty%2Fgcc.git Fix failure in testcase gfortran.dg/goacc/routine-module-mod-1.f90 This testcase prints an extra diagnostic message due to 'Default compute dimensions (compile time)' (commit 4472e4cdcd264b8e9102a2804c0ce35a5865f7a1). 2020-07-24 Kwok Cheung Yeung gcc/testsuite/ * gfortran.dg/goacc/routine-module-mod-1.f90 (g_1): Add expected output. --- diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp index 11a5515bdaa1..981c2744d4e3 100644 --- a/gcc/testsuite/ChangeLog.omp +++ b/gcc/testsuite/ChangeLog.omp @@ -1,3 +1,8 @@ +2020-07-24 Kwok Cheung Yeung + + * gfortran.dg/goacc/routine-module-mod-1.f90 (g_1): Add + expected output. + 2020-07-24 Kwok Cheung Yeung * gfortran.dg/goacc/loop-2-kernels.f95: Add XFAILs. diff --git a/gcc/testsuite/gfortran.dg/goacc/routine-module-mod-1.f90 b/gcc/testsuite/gfortran.dg/goacc/routine-module-mod-1.f90 index 23c673fe3bd1..2ea4094927de 100644 --- a/gcc/testsuite/gfortran.dg/goacc/routine-module-mod-1.f90 +++ b/gcc/testsuite/gfortran.dg/goacc/routine-module-mod-1.f90 @@ -50,7 +50,7 @@ contains end do end subroutine w_1 - subroutine g_1 + subroutine g_1 ! { dg-warning "region is worker partitioned but does not contain worker partitioned code" } implicit none !$acc routine gang