public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] Fix failure in testcase gfortran.dg/goacc/routine-module-mod-1.f90
@ 2021-05-13 16:16 Kwok Yeung
  0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2021-05-13 16:16 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:669ee0cfd5d30d873635b5f859141a68fedcb289

commit 669ee0cfd5d30d873635b5f859141a68fedcb289
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
Date:   Fri Jul 24 09:50:49 2020 -0700

    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  <kcy@codesourcery.com>
    
            gcc/testsuite/
            * gfortran.dg/goacc/routine-module-mod-1.f90 (g_1): Add
            expected output.

Diff:
---
 gcc/testsuite/ChangeLog.omp                              | 5 +++++
 gcc/testsuite/gfortran.dg/goacc/routine-module-mod-1.f90 | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index 592ed8e56f0..c346fdf109c 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,8 @@
+2020-07-24  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+	* gfortran.dg/goacc/routine-module-mod-1.f90 (g_1): Add
+	expected output.
+
 2020-07-24  Kwok Cheung Yeung  <kcy@codesourcery.com>
 
 	* 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 23c673fe3bd..2ea4094927d 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-13 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 16:16 [gcc/devel/omp/gcc-11] Fix failure in testcase gfortran.dg/goacc/routine-module-mod-1.f90 Kwok Yeung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).