From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 80BBC3858D33; Tue, 27 Dec 2022 08:04:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80BBC3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672128274; bh=e0lo6uj172uI29yIaOK9aTqf+sMvOJfco9S9tphMSH0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=w+x23HKatf8v/hsRdTdCZUsa8RMvWgvwpIFt3qNk8GW4JmqPCQ1DEjMPUtAb8REqX yG3c/94r3Oqz5CufjrWN3atJSEtLcbDsrkDhb2/IQRg5DyzLWFlotkyeMi0aBcakYS KwpPPkCcmhSz7wCHyjEZp/GT5Nj1jaJVu2ZYD6Oc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108231] malloc attribute vs extern "C" in a namespace and global and using of one in the namespace in the global one and the builtin free Date: Tue, 27 Dec 2022 08:04:34 +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: 12.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed bug_status short_desc cf_reconfirmed_on 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=3D108231 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Summary|malloc attribute vs extern |malloc attribute vs extern |"C" in a namespace and |"C" in a namespace and |global and using of one in |global and using of one in |the namespace in the global |the namespace in the global |one |one and the builtin free Last reconfirmed| |2022-12-27 --- Comment #2 from Andrew Pinski --- The problem is related to that free is a builtin rather than the extern "C" really. -fno-builtin fixes the error too.=