From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 72FEA3858C41; Sat, 4 Nov 2023 18:41:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 72FEA3858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699123275; bh=XxGqF1XnaX1lQ9vtG8MwHyghdin01vCrYEe9os0afgw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dOEQoF3vbhXb0g5uUAup+138X55OtmUYpS5oavS/BMAm4mdkSTnJtKGy/fGLjG80q QkPLGAyGNX/zADX67G7nlEfVeBXRNAI4YvVMXEBh+/h8FPG6rrma1wPMlH9uqBiZHk v/hV/GL/L/7Xz8bYGcOPOnfe1J2/iqTIeLOu8qnw= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112288] [11/12/13/14 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861 since r6-6830-g20a0c6f9bdbd78 Date: Sat, 04 Nov 2023 18:41:14 +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: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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=3D112288 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot g= nu.org --- Comment #10 from Patrick Palka --- (In reply to Fabio Alemagna from comment #9) > (In reply to Patrick Palka from comment #8) > > The issue was probably latent before r6-6830. The testcase is kind of > > strange, >=20 > It's the "friend injection" technique. In this case, it's used to create a > compile-time counter. The specific test case uses templates in such a way= as > to try and circumvent a diagnostic-related bug (bug #112267), which howev= er > triggered this other bug. Ah thanks, I see. I have a fix for the failing assert.=