From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EF6873857C51; Wed, 6 Mar 2024 20:06:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF6873857C51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709755568; bh=ZH8glreTezmyuxgGUtiPccMju0JgCPFz0CDYmvJo27Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jjeqwMDh8AOU3dx7uX4z16nNTegDCcI5mfgwpnoOXfTTGhmF6AH7dMKbbqdJqQ9X2 QSalpY98tQiRiki9onM6OVd9P+5P5drKuADDfOdK29R+tbVSmRYkqKd+hfx6AL+COP eqaeu/sXJ3Bf7XgGXEnp/Kx0cU5ku6oXJVygTvY0= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110730] STL internal allocation/deallocation might lead to core dump in the use of header units of the modules feature Date: Wed, 06 Mar 2024 20:06:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D110730 --- Comment #2 from Patrick Palka --- Without modules we end up calling _ZNSt10filesystem12current_pathB5cxx11Ev = i.e. std::filesystem::current_path[abi:cxx11]() and with modules we call _ZNSt10filesystem12current_pathEv i.e. the non-abi-tagged version. The abi= tag is getting lost because we don't stream the abi_tag attribute attached to an inline namespace.=