From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 901CB3858C54 for ; Wed, 7 Jun 2023 11:25:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 901CB3858C54 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="6.00,223,1681200000"; d="scan'208";a="9067213" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 07 Jun 2023 03:25:05 -0800 IronPort-SDR: tHi670BeqiYEC6PaJtXewh3cyuNNlZXtQ/MmXxu/vRwOGVBxyvJDRQOFr6b/rsBlw/rpfNePCT jL2Z/kAchZ56cltkHCXpAd8EtmL36UgXYXW+yCJ4j9iiAN15yHigO+sp63LILZgZGR1TCWRc0s 3OfQK0w0wpuh/nwJDFjgpLqdjiKcL5VMoxGXxPLNtdFU/B6JHSqi1gdnAI74agTQ9R3j2IKeyZ n/6Iqo/bWHCHP/WJIK3+P79ZsUZSw3dbqJuQp430KUxCkOUdij417oGsqjkw4pOl6qReqjeKa/ iB4= Message-ID: <945ae1f6-4c4a-2317-ccc5-73b294db6e38@codesourcery.com> Date: Wed, 7 Jun 2023 13:25:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: [committed] testsuite/libgomp.*/target-present-*.{c,f90}: Improve and fix (was: Re: [og12] Fix 'libgomp.{c-c++-common,fortran}/target-present-*' test cases) Content-Language: en-US To: References: <049a4654-2596-1913-20fc-1aeea48eb3ec@codesourcery.com> <87bkluzr8q.fsf@euler.schwinge.homeip.net> CC: Thomas Schwinge From: Tobias Burnus In-Reply-To: <87bkluzr8q.fsf@euler.schwinge.homeip.net> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) To svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,KAM_SHORT,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This patch fixes a corner case issue (missing list items in a map clause) and ensures that such an issue is caught. Committed to mainline as https://gcc.gnu.org/r14-1605-gdd958667821e38 It is a forward port of Thomas' OG12 then OG13 commit which fixed a run-time issue which the mainline version does not have; still fixing the map issue (and doing the check-point check) is a good idea and, hence, the patch was applied to mainline as well. OG13 commit: https://gcc.gnu.org/g:f719ab9a3ac51d798b012a5ab7757af2b81b4ae2 OG12 commit, see Thomas email earlier in this thread. Tobias On 15.02.23 20:02, Thomas Schwinge wrote: > On 2023-02-09T21:17:44+0000, Kwok Cheung Yeung wro= te: >> [...] > I've pushed to devel/omp/gcc-12 branch > commit bbda035ee62ba4db21356136c97e9d83a97ba7d1 > "Fix 'libgomp.{c-c++-common,fortran}/target-present-*' test cases", > see attached. [...] ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955