From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CEDBB3858D32; Mon, 13 Nov 2023 00:01:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CEDBB3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699833713; bh=19+UGkNDqIu7PNvLlLm3HRIAMsGRAe9QlryPsljw2uc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TIL24tdalSJekFaNvspC+TeyNNfw7ZqhCPRVy4N2vd7+I/Do7o2hUV/pgfVNxyMBe h3gNmDJcDdZM67gkBBIEAtaRTbJ1j6bZ106Ch0uWC3nPaFmwGts4rVaiOhtd4ZhMHH vHZ/Nxn8bzIz6a+QAYOWGnRjW7GSVkFk5nl3/SFM= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111934] ICE internal compiler error: in discriminator_for_local_entity after undefined decl defining a `thread_local auto` and weakref/alias attribute had been used before Date: Mon, 13 Nov 2023 00:01:53 +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: error-recovery, ice-on-invalid-code 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: short_desc 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=3D111934 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE internal compiler |ICE internal compiler |error: in |error: in |discriminator_for_local_ent |discriminator_for_local_ent |ity, at cp/mangle.cc:2065 |ity after undefined decl | |defining a `thread_local | |auto` and weakref/alias | |attribute had been used | |before --- Comment #9 from Andrew Pinski --- note alias attribute also causes the ICE.=