From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from albireo.enyo.de (albireo.enyo.de [37.24.231.21]) by sourceware.org (Postfix) with ESMTPS id 731B23858D28; Fri, 3 Mar 2023 20:15:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 731B23858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=deneb.enyo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=deneb.enyo.de Received: from [172.17.203.2] (port=53915 helo=deneb.enyo.de) by albireo.enyo.de ([172.17.140.2]) with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) id 1pYBo9-0005xS-Hl; Fri, 03 Mar 2023 20:15:13 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.94.2) (envelope-from ) id 1pYBo9-000DZP-88; Fri, 03 Mar 2023 21:15:13 +0100 From: Florian Weimer To: Alexandre Oliva via Gcc-patches Cc: Jonathan Wakely , Alexandre Oliva , Jonathan Wakely , "libstdc++" , Bernd Edlinger Subject: Re: [libstdc++] Use __gthread_join in jthread/95989 References: Date: Fri, 03 Mar 2023 21:15:13 +0100 In-Reply-To: (Alexandre Oliva via Gcc-patches's message of "Fri, 03 Mar 2023 16:55:29 -0300") Message-ID: <87ttz1r3qm.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_NUMSUBJECT,SPF_HELO_NONE,SPF_PASS,TXREP 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: * Alexandre Oliva via Gcc-patches: > + // Make sure it's not optimized out, not even with LTO. > + asm ("" : : "rm" (depend)); If the m constraint is used, this may never emit the symbol name and thus not create a reference after all.