diff mbox series

[OG10] Xfail libgomp.oacc-fortran/privatized-ref-2.f90 when offloading to nvptx

Message ID 85518091-66ad-4844-cd0f-b8a245d5af7b@codesourcery.com
State New
Headers show
Series [OG10] Xfail libgomp.oacc-fortran/privatized-ref-2.f90 when offloading to nvptx | expand

Commit Message

Kwok Cheung Yeung Sept. 16, 2020, 5:34 p.m. UTC
Hello

I have committed this patch to xfail libgomp.oacc-fortran/privatized-ref-2.f90 
when the offload target is nvptx, as the generated code has some alloca calls 
which are currently not supported by nvptx (PR65181).

Kwok
commit 1245f6f615fa08d2ab4165598c9db72c4dad4467
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
Date:   Wed Sep 16 10:19:35 2020 -0700

    XFAIL libgomp.oacc-fortran/privatized-ref-2.f90 on nvptx
    
    The testcase uses alloca, which is not currently supported on nvptx
    (see PR65181).
    
    2020-09-16  Kwok Cheung Yeung  <kcy@codesourcery.com>
    
    	libgomp/
    	* testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: XFAIL on nvptx.
diff mbox series

Patch

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 6e313aa..890a4e2 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,5 +1,9 @@ 
 2020-09-16  Kwok Cheung Yeung  <kcy@codesourcery.com>
 
+	* testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: XFAIL on nvptx.
+
+2020-09-16  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
 	* testsuite/libgomp.oacc-c++/privatized-ref-2.C (workers, vectors):
 	Reduce number of workers to 16.
 	* testsuite/libgomp.oacc-c++/privatized-ref-3.C (workers, vectors):
diff --git a/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90 b/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90
index ca8fbe8..658ab9e 100644
--- a/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90
+++ b/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90
@@ -1,4 +1,5 @@ 
 ! { dg-do run }
+! { dg-xfail-if "no alloca support" { offload_target_nvptx } }
 
 program main
   implicit none (type, external)