From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4EE0D3858CD1; Sun, 12 Nov 2023 23:59:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4EE0D3858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699833592; bh=fGSY+aw7f6Us3UNFToUxwXdEdK1CtQFeqdCI/L6s58E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OvGBVcuQDTaxlR+vm90gZ1tubyyK7kVGqwJCKrNgGUiH9kRU5HGfG3tPSqEEa8Cnk a5nJrOPN7JHz55/zJtPk1G57pmg+6oF9aK6ZinaVb6AdZeNAoVtRtmw8ArhHzQmWY8 LflnrlcXZtq6zOTOQVgQm1Bezux+WS0XslQw2Qu0= 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, at cp/mangle.cc:2065 Date: Sun, 12 Nov 2023 23:59:52 +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: everconfirmed cf_reconfirmed_on bug_status keywords 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 ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2023-11-12 Status|UNCONFIRMED |NEW Keywords|needs-reduction | --- Comment #8 from Andrew Pinski --- Confirmed. Note the difference between my build and the others is due to: # if __GLIBC_PREREQ(2, 34) // Since glibc 2.34 all pthreads functions are usable without linking to // libpthread. # define _GLIBCXX_GTHREAD_USE_WEAK 0 # endif That is I have a newer glibc which causes __weakref__ not to be needed/used here. So next time please attach the preprocessed source when running into a bug = in the front-end, because different versions of glibc might produce different preprocessed sources and not able to reproduce the issue.=