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 B6F6A3857C52; Sun, 23 May 2021 09:47:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B6F6A3857C52 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Tobias_Burnus@mentor.com IronPort-SDR: o/d6AGqMYC1PgErrnnMz17CvLPwERUtWkOGJ4oTVt7LSdZiimHoXeC/MNPSeea2Cnekww4wGwK zkrKUjjXggnEp2Vv6OkWmT/1S7d4/ajjVCYKjx/SzGOnCptPWKvjNk0W90y9zvEMSnyQHZeC5G vjc0YrQp1zsNw5ypUgOPGM2bw1wRVOP1ZcfLOCabsVnI3u/5UIJm6PUbIJHYi9WOfOfl5B7QI4 H8f4/iABJ9r3XCrfOnkv4i4HVmImzq8aURGMu7AgA3wg9yFKp3EYYgQsNmDonqmCHdjfVaZQgA rLY= X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="61693342" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 23 May 2021 01:47:32 -0800 IronPort-SDR: 2vgIgBD84VV67FE9mF+oTbLXketfgPuhQ0DgnBi/kwyNQkgPlIz/RacyipdqCTYlhvPpEWobSx OWEO/cEdl5KyRmkB0mLFQl/9+iiAcSZwiTJDRg3qlwDaDdRPo+20eZZWiSQ9bUHyh7I6gNvFgA ABnX8iG1mGiqeaqkXFkB9M9hXObJLrw5Y2/T/G68VLn4jcF2iFrOslFkG78a6coxfmlKUZT0Zz XqkF1K8aXIoSea3xv9lLy+EK74HaLPEKkCsuS51FB9vELZPWaIvO/KhnIDZFau+0wtyHdw0DSZ K2s= Subject: Re: [Patch] OpenMP/Fortran: Handle polymorphic scalars in data-sharing FIRSTPRIVATE [PR86470] From: Tobias Burnus To: gcc-patches , fortran , Jakub Jelinek References: <9b270c75-b88c-7477-1303-5f4f5a6662ae@codesourcery.com> Message-ID: <4caec7b4-74e5-45cb-308a-307b25e55cb6@codesourcery.com> Date: Sun, 23 May 2021 11:47:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <9b270c75-b88c-7477-1303-5f4f5a6662ae@codesourcery.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-05.mgc.mentorg.com (139.181.222.5) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, NICE_REPLY_A, 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: Sun, 23 May 2021 09:47:35 -0000 *PING* (OpenMP patches: I note that the reduction + firstprivate=E2=86=92tofrom pa= tch is still being reviewed and that there are bunch of recently posted patches by ChungLin + Julian which are also pending review.) (There is also one patch (affinity + iterator) I still have to repost =E2= =80=93 and will happen soon.) Tobias On 10.03.21 11:55, Tobias Burnus wrote: > Belated follow-up to the patch from August ... > https://gcc.gnu.org/pipermail/gcc-patches/2020-August/552588.html > > This patch handles CLASS variables in the FIRSTPRIVATE data-sharing > clause, including freeing the memory at the end. > > Technically this patch fixes a regression as the ICE is new =E2=80=93 > before the code was just rejected. It is also rather contained. > > OK for mainline? > > Tobias > > PS: The dtor can be extended rather simply to support arrays, for > the copy_ctor, some scalarization loop is needed. > Todo: 'private', which has to allocate the > dynamic type and copy the default initialization > for this the dynamic type. > ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 M=C3=BCnchen R= egistergericht M=C3=BCnchen HRB 106955, Gesch=C3=A4ftsf=C3=BChrer: Thomas H= eurung, Frank Th=C3=BCrauf