From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B7EB23858C30; Mon, 11 Sep 2023 11:52:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7EB23858C30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694433160; bh=PC9ZgxY2+4i+WKsXAgcquYPkP8EQRTw1U77TnjTalbw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CH2l/m9iAlncGYoTwmMnqZbEEzCKyoeZWAy3vW/WR7zDjmuqY29j6P8DvMyf4xuR8 VusXVksm7YIKfHJPNgJ6VpmbrOVL/qKe57IFP9tF0Kp91cuFVQ7+NOXg28FcmSG71C Sv5WSFnqLz+6xS5gXbs0RHjntyuGiSrVcvCCWyHg= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/111050] [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11 Date: Mon, 11 Sep 2023 11:52:39 +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: 13.0 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: fdumont at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.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=3D111050 --- Comment #8 from Jonathan Wakely --- (In reply to Fran=C3=A7ois Dumont from comment #1) > It seems to be a limited issue as you need a non-optimized build. That's not a safe assumption. Inlining decisions can change across builds a= nd across architectures, and it's not safe to assume the affected functions wi= ll always be inlined, e.g. in the presence of explicit instantiation definitio= ns. > The only > impacted member is the _M_next() which is a simple static_cast, I'm very > surprised that it's not always inlined even if non-optimized. No functions are inlined for non-optimized builds, unless forced with always_inline.=