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 5986C3858D32 for ; Thu, 30 Nov 2023 14:48:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5986C3858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5986C3858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=68.232.141.98 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701355713; cv=none; b=DyW4wrKBKVCJqLAEwjaDdIuYEC7YgojRG56MfQjqriMZty6anvnUSh627En0HDE22eh9xMyZfLlNPOq2HbNKNBQxWFEesMQw0M/7SlZDg+cy3LCEcl+gthZE1+CPIQSVkESzjWpjtyiyCHc1r6KLP8uepTUtdUYIjk+JNhTvl0g= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701355713; c=relaxed/simple; bh=vFBUdqrBT3UMVI8kHtyyk4VWGYnuGENZICS1G/cFr8M=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=qVLsp6HfCd50P77yss3VgG1iHmGW1gBllE1RmzHXZd5Y3gtfgW+lW/szfJsYAbiww693C83TQCMHGWgOF7+/DbM0KptVGd00RL1+r0VzQQ268F72dvQYJf8rKecAgah0dyteApuvvu5OGMucy1fi0MTuAaxF/fnk8B1cL4GUfc4= ARC-Authentication-Results: i=1; server2.sourceware.org X-CSE-ConnectionGUID: QnBTDOb9SjOPc2+yx3CcnA== X-CSE-MsgGUID: EvlMoM15ShWCVj1pwyhhyA== X-IronPort-AV: E=Sophos;i="6.04,239,1695715200"; d="scan'208";a="27012744" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 30 Nov 2023 06:48:31 -0800 IronPort-SDR: W07BSVXjuX/KwBoQBp40YQ34vy2f4wyC+ZM/D0/5xIq0bb7kvoIn23asfhh1m84T32ztIrEs8w 9O9ybfQMHuuXOerJozHRlG46/2U8jel33+XnsaeyoTixvs3c3v/2L71pXOaUkcOAd68bey3hze QeOakrE5nQNxR0IG6QIpNC0OtgEixWfMp3pRZ21kWTZZqV+p4JGBP+CLdt/e/r8OYwSl+52v+t kRcn6O4QWLiUPux+GNJ9vzsMGb+sHaNrZz/YrScpIDtRavWIB3o0nWKZ3aRTQvau6YHNOyUkM6 r68= From: Thomas Schwinge To: CC: Tom de Vries , Jakub Jelinek , Tobias Burnus Subject: Fix 'libgomp.c/declare-variant-3-*.c' compilation for configurations where GCN offloading is enabled in addition to nvptx (was: [PATCH][libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c) In-Reply-To: <0ce14ee6-a677-76a9-7e7a-d99d3927bd8a@suse.de> References: <6b0f4fe5-06d4-5ede-5bd1-a53ed82f6d36@suse.de> <221e5215-3b8b-fa9f-4e7b-2faa86b8b991@codesourcery.com> <71e9c008-7ad1-c24f-76eb-6a03180525c4@suse.de> <0ce14ee6-a677-76a9-7e7a-d99d3927bd8a@suse.de> User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu) Date: Thu, 30 Nov 2023 15:48:25 +0100 Message-ID: <87h6l35mbq.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,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: Hi! On 2022-02-24T11:32:53+0100, Tom de Vries via Gcc-patches wrote: > [libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c \o/ Yay for test cases! > --- /dev/null > +++ b/libgomp/testsuite/libgomp.c/declare-variant-3-sm30.c > @@ -0,0 +1,7 @@ > +/* { dg-do run { target { offload_target_nvptx } } } */ > +/* { dg-additional-options "-foffload=3D-misa=3Dsm_30" } */ > +/* { dg-additional-options "-foffload=3D-fdump-tree-optimized" } */ Etc. Pushed to master branch commit 3f5a3b7539e066b539e81b901687facdea4e1bac "Fix 'libgomp.c/declare-variant-3-*.c' compilation for configurations where= GCN offloading is enabled in addition to nvptx", see attached. Gr=C3=BC=C3=9Fe Thomas ----------------- 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