From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DFAF1382C176; Thu, 27 Oct 2022 08:04:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DFAF1382C176 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666857888; bh=a+mZldm9IKNBf9xXX+ZfbjBai+3VoPveljyn6qgF508=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aZ8YMMwrpTwhrnNaS8j5pY0AI422HWH+5Y7NdweZu+Zsnx6vgqG2Ty6mXQmL5ERAW Bf77VKpLy/CNGLRrWhi15zeK2VfzKuThaCVV9io8L68dbJOlYAYv/bxvsVi748t2R/ xT+IKyvLCCPwEqdj2bjP3+Ap5hnC182HtbviDglc= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/105644] ICE in a fold expression with a requires expression: in iterative_hash_template_arg, at cp/pt.cc:1805 Date: Thu, 27 Oct 2022 08:04:47 +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.1.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 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=3D105644 --- Comment #1 from Martin Li=C5=A1ka --- The original code is valid (accepted) by clang. But it's hard to reduce it = as clang++ does not accept's gcc's -E output and vice versa :/=