From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 5E1FF3857C63; Wed, 10 Feb 2021 03:14:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5E1FF3857C63 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Julian_Brown@mentor.com IronPort-SDR: BXCbk9UHXJi0Feyiu67P5YIjYHQWr7Tj70Hr9mHog2ySqFY7+99RxlBAfPgiMZrNoItJE+xALf 5kReABOgGq4qygvUAZpYqfPKtyX/kURlyYGP/AoqZXF5xr09N7VKakexGqJRRduQjc27jEbeTs HUtRGlwsqS6i4WqCnXVWdXGDc41auHcC4iqDfHEEORDhkGoOKKdK/bLpzmiZhe8VdbsTER//Nl 3X/h9LTOy+3Tae6x1kygTFaSDZ40kie4Ng6myW3ZDGMG80Z7NmFPNifdQXG06w2dIv3baUpnLV BNg= X-IronPort-AV: E=Sophos;i="5.81,166,1610438400"; d="scan'208";a="60253585" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 09 Feb 2021 19:14:41 -0800 IronPort-SDR: JwbVP2lfQkermPljYs52tViB5uOJkiIFWdr4vzv+tRUuw6CVhjfr/QKP2lg3D+DubhD7uzMV6Z aViOgRjLdW9nBJ+H3J3QB34XxojO09cLQhba7JNk1a/M8aQdsmOGiTWJCFRQ7U0qui1bkIAqlr PvXBWE/iXBWq19BcLbuQ9cQ3Ch46LmVTJsrYxq1MjEY894KK0yHDea6aTZbamQnvaoZfu9dS/G YKeg2S20bs4dFdJF2WDCRSo1S7AzBherf5/oY5mJFxXLgWyGTcAbZbs1W8o9/0+GQQz5ozg/Oo kJk= From: Julian Brown To: CC: , Tobias Burnus , Thomas Schwinge , Jakub Jelinek Subject: [PATCH 2/2] openacc: Add XFAILs [PR98979] Date: Tue, 9 Feb 2021 19:14:07 -0800 Message-ID: <20210210031407.57504-3-julian@codesourcery.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210210031407.57504-1-julian@codesourcery.com> References: <20210210031407.57504-1-julian@codesourcery.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2021 03:14:44 -0000 This patch adds some XFAILs for PR98979 until the patch to fix them has been approved. See: https://gcc.gnu.org/pipermail/gcc-patches/2021-February/564711.html gcc/testsuite/ PR fortran/98979 * gfortran.dg/goacc/array-with-dt-2.f90: Add expected errors. * gfortran.dg/goacc/derived-chartypes-1.f90: Skip ICEing test. * gfortran.dg/goacc/derived-chartypes-2.f90: Likewise. libgomp/ PR fortran/98979 * testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90: Add expected errors. --- gcc/testsuite/gfortran.dg/goacc/array-with-dt-2.f90 | 5 +++-- gcc/testsuite/gfortran.dg/goacc/derived-chartypes-1.f90 | 3 +++ gcc/testsuite/gfortran.dg/goacc/derived-chartypes-2.f90 | 3 +++ libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 | 5 +++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/gfortran.dg/goacc/array-with-dt-2.f90 b/gcc/testsuite/gfortran.dg/goacc/array-with-dt-2.f90 index 807580d75a9..e4a6f319772 100644 --- a/gcc/testsuite/gfortran.dg/goacc/array-with-dt-2.f90 +++ b/gcc/testsuite/gfortran.dg/goacc/array-with-dt-2.f90 @@ -4,7 +4,8 @@ end type t type(t), allocatable :: b(:) -!$acc update host(b(::2)) -!$acc update host(b(1)%A(::3,::4)) +! TODO: Remove expected errors when this is supported. +!$acc update host(b(::2)) ! { dg-error "Stride should not be specified for array section in MAP clause" } +!$acc update host(b(1)%A(::3,::4)) ! { dg-error "Stride should not be specified for array section in MAP clause" } end diff --git a/gcc/testsuite/gfortran.dg/goacc/derived-chartypes-1.f90 b/gcc/testsuite/gfortran.dg/goacc/derived-chartypes-1.f90 index e4d360e1262..f7aafbfc036 100644 --- a/gcc/testsuite/gfortran.dg/goacc/derived-chartypes-1.f90 +++ b/gcc/testsuite/gfortran.dg/goacc/derived-chartypes-1.f90 @@ -1,3 +1,6 @@ +! This currently ICEs. Avoid that. +! { dg-skip-if "PR98979" { *-*-* } } + type :: type1 character(len=35) :: a end type type1 diff --git a/gcc/testsuite/gfortran.dg/goacc/derived-chartypes-2.f90 b/gcc/testsuite/gfortran.dg/goacc/derived-chartypes-2.f90 index cca6443e7fc..e22fc679df2 100644 --- a/gcc/testsuite/gfortran.dg/goacc/derived-chartypes-2.f90 +++ b/gcc/testsuite/gfortran.dg/goacc/derived-chartypes-2.f90 @@ -1,3 +1,6 @@ +! This currently ICEs. Avoid that. +! { dg-skip-if "PR98979" { *-*-* } } + type :: type1 character(len=35,kind=4) :: a end type type1 diff --git a/libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 b/libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 index f04d76d583a..61250708197 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 @@ -24,8 +24,9 @@ end do b(1)%A(:,:) = 5 -!$acc update device(b(::2)) -!$acc update device(b(1)%A(::3,::4)) +! TODO: Remove expected errors once this is supported. +!$acc update device(b(::2)) ! { dg-error "Stride should not be specified for array section in MAP clause" } +!$acc update device(b(1)%A(::3,::4)) ! { dg-error "Stride should not be specified for array section in MAP clause" } do i=1,20 !$acc exit data copyout(b(i)%A) -- 2.29.2