From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id E8A75393BC05; Wed, 24 Feb 2021 21:57:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E8A75393BC05 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: RpURTKa1fWoUF+gMXcIDBwMfUjMt+Z+QlJGrxXyezLhWkjWGhKgxyc4+rG7eOgVwHKQ1IqU3TF hOcqULODTXer2kZyg6ZmOKE5q+otK4jvNsp2LpUZHacBZixA8YZQ80aO6tQ0HtR4vks3/25Ro4 kyGtffZgDlXu6xcbsrecP+7sg4csLy6uAb2ZtukFihRqx7L0tFfc4F29Tpis9Xk2wng9HC1mnY hpi8jPUIlljvmkkpzkU3E9WZgx60AduM+sKcyy/vPKk97amMufix3jtgkigfcq0J7OwPAaA8IV hGY= X-IronPort-AV: E=Sophos;i="5.81,203,1610438400"; d="scan'208";a="58597694" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 24 Feb 2021 13:57:40 -0800 IronPort-SDR: 11pYeRN2QGSGEHMLqC80wLS8SKIa+NXDrou3iMG5a6yWqPhM7kH0BSFrWSny1bElEtMfzVl7u7 4nYRF6J9bUg3G9WQfa+m22LVX5yjoKyYE2XH4Ak8/NsAm/bqYr3XiH0oIvMQN4xe19en4qbLW5 f8FnEZEO+BPJtWuBMPqBvsm4LiAzTaRMZl3l84wE7ZfKWIhi1uqbcANPtzOn6O+0W6/OkfSWA0 8B6B5O5osjQXiYsX5b+bkHIeVEmxa0p1cnElBKQzvv2RwNRxnfaK/QdBomys2S1TvflsSnJ5sx oOw= From: Julian Brown To: CC: , Tobias Burnus Subject: [PATCH 0/7] [og10] openacc: Arrays/derived types/character type backports Date: Wed, 24 Feb 2021 13:57:21 -0800 Message-ID: <20210224215726.129681-1-julian@codesourcery.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-07.mgc.mentorg.com (139.181.222.7) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no 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, 24 Feb 2021 21:57:43 -0000 This series contains several backports from mainline to the og10 branch concerning character and complex types and mixed derived types and array accesses in OpenACC directive clauses. Tested with offloading to AMD GCN. I will apply shortly. Julian Brown (5): [og10] openacc: Dereference BT_CLASS data pointers but not BT_DERIVED pointers [og10] openacc: Use class_pointer instead of pointer attribute for class types [og10] openacc: Character types and mixed arrays/derived type tests [og10] openacc: Fix lowering for derived-type mappings through array elements [og10] openacc: Strided array sections and components of derived-type arrays Tobias Burnus (2): [og10] Fortran: OpenMP/OpenACC diagnose substring rejections better [og10] Fortran: %re/%im fixes for OpenMP/OpenACC + gfc_is_simplify_contiguous gcc/ChangeLog.omp | 7 + gcc/fortran/ChangeLog.omp | 43 ++++ gcc/fortran/expr.c | 2 + gcc/fortran/openmp.c | 66 ++++-- gcc/fortran/trans-openmp.c | 196 ++++++++++-------- gcc/gimplify.c | 12 ++ gcc/testsuite/ChangeLog.omp | 53 +++++ .../gfortran.dg/goacc/array-with-dt-1.f90 | 11 + .../gfortran.dg/goacc/array-with-dt-2.f90 | 10 + .../gfortran.dg/goacc/array-with-dt-3.f90 | 14 ++ .../gfortran.dg/goacc/array-with-dt-4.f90 | 18 ++ .../gfortran.dg/goacc/array-with-dt-5.f90 | 12 ++ .../gfortran.dg/goacc/array-with-dt-6.f90 | 10 + .../gfortran.dg/goacc/derived-chartypes-1.f90 | 129 ++++++++++++ .../gfortran.dg/goacc/derived-chartypes-2.f90 | 129 ++++++++++++ .../gfortran.dg/goacc/derived-chartypes-3.f90 | 38 ++++ .../gfortran.dg/goacc/derived-chartypes-4.f90 | 38 ++++ .../goacc/derived-classtypes-1.f95 | 129 ++++++++++++ .../gfortran.dg/goacc/mapping-tests-2.f90 | 4 +- .../gfortran.dg/goacc/ref_inquiry.f90 | 48 +++++ gcc/testsuite/gfortran.dg/goacc/substring.f90 | 27 +++ .../gfortran.dg/gomp/ref_inquiry.f90 | 35 ++++ gcc/testsuite/gfortran.dg/gomp/substring.f90 | 22 ++ libgomp/ChangeLog.omp | 20 ++ .../array-stride-dt-1.f90 | 44 ++++ .../derivedtypes-arrays-1.f90 | 109 ++++++++++ .../libgomp.oacc-fortran/update-dt-array.f90 | 53 +++++ 27 files changed, 1176 insertions(+), 103 deletions(-) create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-1.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-2.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-3.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-4.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-5.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-6.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/derived-chartypes-1.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/derived-chartypes-2.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/derived-chartypes-3.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/derived-chartypes-4.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/derived-classtypes-1.f95 create mode 100644 gcc/testsuite/gfortran.dg/goacc/ref_inquiry.f90 create mode 100644 gcc/testsuite/gfortran.dg/goacc/substring.f90 create mode 100644 gcc/testsuite/gfortran.dg/gomp/ref_inquiry.f90 create mode 100644 gcc/testsuite/gfortran.dg/gomp/substring.f90 create mode 100644 libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 create mode 100644 libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90 create mode 100644 libgomp/testsuite/libgomp.oacc-fortran/update-dt-array.f90 -- 2.29.2