From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BBF1E3858C56; Sat, 27 Jan 2024 16:15:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBF1E3858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706372116; bh=0vROYa2teGrOc/t++SUrErJiHpn+NtyEgRtPwg3vpYY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KE7ogUPTfVi4yrD4HtNXlZio1tBfSHbReMpTTx9TWdsZJbO1J+mWmjVFI/wXbvAfW Fb8tCB1SMxIoCDS8iIZEUPqldF7ga4zBQrZMQVgEw44xIDYX5xpngsMQuzqoK4sFvr wmELQzA0SJUzXRkuGDcrTeE76AZcdhsjtIME+zVc= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/103994] Module ICE in write_var_def with global variable in global module fragment Date: Sat, 27 Jan 2024 16:15:16 +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.0 X-Bugzilla-Keywords: 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 bug_status everconfirmed 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=3D103994 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-01-27 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #4 from Patrick Palka --- Reduced testcase exhibiting the latest ICE: $ cat 103994.H template struct TransparentSupport { template using key_arg =3D int; }; template struct Map { template using key_arg =3D typename TransparentSupport::template key_arg; }; struct MapKey { Map map_; }; $ g++ -fmodule-header 103994.H 103994.H: internal compiler error: in insert, at cp/module.cc:4924=