From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D823B3856DDF; Wed, 5 Jul 2023 21:52:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D823B3856DDF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688593927; bh=5fwLdgdyXUroltpfmM4LLJslFQCC2ttx1hfhO/N/xt0=; h=From:To:Subject:Date:From; b=UWI9JkoHnA2dlmASjBVxZCCu1zbqEGoV81TXoKMDBDX+SppoUPnAGUkd9ngu+Uuxa zw32Zv+b6Vhf/0SlfMZV1tsazdKcMU4ZBaYsjZT+Hzf8JgR9yEOu0jDmxD0LOEwDJj OcZrCsZDl5DECt99ensiGQF6XZ/LzHlzMP6gGcg8= From: "waffl3x at protonmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110566] New: [13/14 Regression] ICE when instantiating function template with template template parameter with 2 or more auto parameters with a dependent member template, ICE in tsubst, at cp/pt.cc:16135 Date: Wed, 05 Jul 2023 21:52:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: waffl3x at protonmail dot com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D110566 Bug ID: 110566 Summary: [13/14 Regression] ICE when instantiating function template with template template parameter with 2 or more auto parameters with a dependent member template, ICE in tsubst, at cp/pt.cc:16135 Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: waffl3x at protonmail dot com Target Milestone: --- https://godbolt.org/z/6d4ec5va3 template typename> void takes_templ(); template struct v_v_member_templ_fn { template using fn =3D void; }; using ice =3D decltype(takes_templ::template fn>(= )); This one seems kind of boring to me, only interesting things to note are the ICE only manifests with 2 or more (I assume) auto template parameters, it w= orks as expected with only a single auto template parameter. The version of GCC on my local machine that exhibits this behavior is: 13.1= .1 20230429 Not as convoluted as I'm used to, but at least that means it should be easy= to fix! One can hope anyway.=