From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 25F3C3857C5C; Tue, 13 Feb 2024 19:01:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 25F3C3857C5C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707850913; bh=2CIbtPu5urJ2RkJVpsub6fdv4x0ELS+XA5Hco0E3QRw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MuAiFVn9oSdBvnvGtP64ML1ghiIlAqbu3ZIF5CJxGCqAtiFFXemce2NsWFjRfGr55 nlej5frBfC1SAlOeP/Vawq5JFbktB9YluZq1BmKenb3MQZUHPoqkkRb1j3sLdc87qN dbplLGM4CrpRvuO2QuXnOe3dBUjvikAeZASgrd2c= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106009] [modules] internal compiler error: in import_entity_index with templated local enum in header unit Date: Tue, 13 Feb 2024 19:01:50 +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: 13.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: 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: cf_reconfirmed_on everconfirmed 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=3D106009 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-02-13 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |ice-checking, | |ice-on-valid-code --- Comment #3 from Patrick Palka --- FWIW also crash from import_entity_index if we use an undefined local struc= t: template void format_decimal(T) { struct blah; } but not if we define it: template void format_decimal(T) { struct blah {}; }=