From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44420 invoked by alias); 23 Dec 2019 20:25:27 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 44411 invoked by uid 89); 23 Dec 2019 20:25:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-19.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=gr, gr=c3=bc=c3, copyin, 20191217t22?= X-HELO: esa2.mentor.iphmx.com Received: from esa2.mentor.iphmx.com (HELO esa2.mentor.iphmx.com) (68.232.141.98) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 23 Dec 2019 20:25:25 +0000 IronPort-SDR: 32Or/h10PgOqk59V4wDUutC9aXIGD0yuWq1w1lmG51RMYo5gW/2z7w0d2pYBJ9sMTylRWZHLMB +a99vpfsdPaVMr3LmYVYJps9MRhnoUQfPjD3IEZO99qRAXs0He6bQFKNrgOQKZgIg13q9VSkSf NmPoO4ZEXRH8U9DskNyowedsqaaXG5etqfsKYbEIDdwYRFS6pK7ASH948EqnAA+1xFl1iFZqnx lDe65OW1phn0rtdhhk9qsD3G4DS9DAdGwgQI6ws1YuvZV2DIjk4GotfUYbzTlBilDSg9AH7xPb 47c= Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 23 Dec 2019 12:25:23 -0800 IronPort-SDR: gR0kahIMm+UvOoGJvgF9WbO4Mynsgnuk4lByijIeVCtT3NiBwIx5tyzc6h2/inVpXJWxWjKcBC cl+FV9WUgZjdPjSSdlV1sf9TjBXefR7tsfG62r023LLfip+GeSAlHb0eEOC+r75w+gS59fNWoh 5PXBnnpMMdIMzpN4rJUyxa+s/goS1jwwPnFW0V6ZRQslnfvCj3qHHeVJRO0+bifZ0Ylbl9ncuV YmsF1p0gXmla1J2pZUeGfPecTQg83dTkJZUdBUAwr0CkF5bEW2ciCBA3RdeHNRC6VNJPbCFwYA GiQ= From: Thomas Schwinge To: Julian Brown , CC: Jakub Jelinek , Tobias Burnus , Subject: Re: [PATCH 09/13] OpenACC 2.6 deep copy: C and C++ front-end parts In-Reply-To: <5dfedf23eedbf91e58142a2bc853922c8502cba4.1576648001.git.julian@codesourcery.com> References: <5dfedf23eedbf91e58142a2bc853922c8502cba4.1576648001.git.julian@codesourcery.com> User-Agent: Notmuch/0.29.1+93~g67ed7df (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Tue, 24 Dec 2019 05:05:00 -0000 Message-ID: <874kxqx00u.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-Path: tschwing@mentor.com X-SW-Source: 2019-12/txt/msg01551.txt.bz2 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1095 Hi! On 2019-12-17T22:03:49-0800, Julian Brown wrote: > --- /dev/null > +++ b/gcc/testsuite/c-c++-common/goacc/mdc-1.c > @@ -0,0 +1,55 @@ > +/* Test OpenACC's support for manual deep copy, including the attach > + and detach clauses. */ > + > +/* { dg-do compile { target int32 } } */ > +/* { dg-additional-options "-fdump-tree-omplower" } */ > + > +void > +t1 () > +{ > + struct foo { > + int *a, *b, c, d, *e; > + } s; > + > + int *a, *z; These data types... > +#pragma acc enter data copyin(s) > +[...] ..., and these uses... > +/* { dg-final { scan-tree-dump-times "pragma omp target oacc_enter_exit_= data map.to:s .len: 32.." 1 "omplower" } } */ > +[...] ..., and these tree dump scanning directives don't match up: a lot of FAILs for anything that doesn't use 64-bit pointers, such as x86_64 GNU/Linux's '-m32' multilib. This will need further tweaking to enable tree dump scanning for all configurations, but for now, see attached "Restrict 'c-c++-common/goacc/mdc-1.c' to LP64, LLP64"; committed to trunk in r279720. Gr=C3=BC=C3=9Fe Thomas --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Restrict-c-c-common-goacc-mdc-1.c-to-LP64-LLP6.trunk.patch Content-Transfer-Encoding: quoted-printable Content-length: 1575 =46rom f8f558f90d9fe859e44258103486389d026321fa Mon Sep 17 00:00:00 2001 From: tschwinge Date: Mon, 23 Dec 2019 20:20:29 +0000 Subject: [PATCH] Restrict 'c-c++-common/goacc/mdc-1.c' to LP64, LLP64 The tree dump scanning has certain expectations. gcc/testsuite/ * c-c++-common/goacc/mdc-1.c: Restrict to LP64, LLP64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@279720 138bc75d-0d04-0410-9= 61f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/c-c++-common/goacc/mdc-1.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 59fc56447ac..1a659dba269 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-12-23 Thomas Schwinge + + * c-c++-common/goacc/mdc-1.c: Restrict to LP64, LLP64. + 2019-12-23 Richard Sandiford =20 PR c++/92789 diff --git a/gcc/testsuite/c-c++-common/goacc/mdc-1.c b/gcc/testsuite/c-c++= -common/goacc/mdc-1.c index 6c6a81ea73a..fb5841a709d 100644 --- a/gcc/testsuite/c-c++-common/goacc/mdc-1.c +++ b/gcc/testsuite/c-c++-common/goacc/mdc-1.c @@ -1,7 +1,8 @@ /* Test OpenACC's support for manual deep copy, including the attach and detach clauses. */ =20 -/* { dg-do compile { target int32 } } */ +/* TODO The tree dump scanning has certain expectations. + { dg-do compile { target { lp64 || llp64 } } } */ /* { dg-additional-options "-fdump-tree-omplower" } */ =20 void --=20 2.17.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" Content-length: 658 -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEU9WEfWKGQazCmycCAKI7+41Q4XkFAl4BIqEACgkQAKI7+41Q 4Xmn/wwA0gNVq41azRn1xEkPax3xL0SAveUkw3zPgOrPvwAqNGYi363X7EfZzRe9 AkdxewsWM+tNN6+n/iVM0mtbL6U7UKVdugIyDhDnBaLQBMWe/YN4KHLLJVL0vB2H EoKee/3B1DawZXdeKizPSENcwQMyNW1zZEh/3dQ9KyhLVUkdk7qNzMReOLNp8raW THx1PIHcaGWbAVWdOaLcJyXmJtzbIBDxhYxxm9nh5cKEnKSMMxk3gcqxdku5E6Gy t34zX3LYxl8gsBFKHSPC3bAgt2ZNVG5nBYsJf//1eKMUyvJfcjq+Iy6IFbuPMt7P 9x4fbX98/KeBDhzsGhysJsSLk22zjd98Vzx5/sDhpA9df9cMPhL3YE0TncffGMUM G3Ui/pU5lzKKOx49CvmZWqmiDKASUaZRhx3g3HHHcHxoye77uLPvmybSL2QIGi2e vyJ5h6iAflpuEAd1cQujopLzwhlbux1ydh1zPaFTUN1F3xNmRVtHYsN81Qgfigc6 3OKZXDa1 =ueel -----END PGP SIGNATURE----- --==-=-=--