From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7355C3857B92; Fri, 2 Feb 2024 10:35:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7355C3857B92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706870116; bh=dHnyDEwmYfw26Hw+Zit/cYaJyFeUd0xJvadFQXwW5h4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=j4JEWm091410IwNbO8RtlWuP9hm2B1P/o1eK+eG+G0pxkGE7QXihzt29CPssBOX3F w5Isuiv+jMX0hbK9yRvDfEn/0Pho2Bkd26k3ifidRNLzu4T8JqZ17iTPHNlnT43k7s 0g+gRmf98Lb+u7DpMK7weFxodQEGia6JL7Dchu9E= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvMTA4NjM2XSBbMTAgUmVncmVzc2lvbl0g?= =?UTF-8?B?QysrMjAgdW5kZWZpbmVkIHJlZmVyZW5jZSB0byBgc3RkOjpmaWxlc3lzdGVt?= =?UTF-8?B?OjpfX2N4eDExOjpwYXRoOjpfTGlzdDo6dHlwZShzdGQ6OmZpbGVzeXN0ZW06?= =?UTF-8?B?Ol9fY3h4MTE6OnBhdGg6Ol9UeXBlKScgd2l0aCAtZmtlZXAtaW5saW5lLWZ1?= =?UTF-8?B?bmN0aW9ucw==?= Date: Fri, 02 Feb 2024 10:35:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108636 --- Comment #11 from GCC Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4b36925576d1097b20cddd29cf96c5b9ecfffc3d commit r12-10127-g4b36925576d1097b20cddd29cf96c5b9ecfffc3d Author: Jonathan Wakely Date: Thu Feb 1 18:37:34 2024 +0000 libstdc++: Force-inline shared_ptr::operator bool() for C++20 [PR108636] This avoids a linker error with -fkeep-inline-functions when including . We can't backport the fix from trunk because it adds an export to the shared library. By marking the "missing" symbol always_inline for C++20 mode we don't need a definition in the library. libstdc++-v3/ChangeLog: PR libstdc++/108636 * include/bits/shared_ptr_base.h (__shared_ptr::operator bool): Add always_inline attribute for C++20 and later.=