From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A90AA385AC19; Sun, 10 May 2020 13:29:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A90AA385AC19 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589117371; bh=19/suIfMVhnZekewWf8EvSreDogJgjwKySI3d23n1f8=; h=From:To:Subject:Date:From; b=dJk0Bf0OyYDPcU5CSinc+pcK3ZWpsOY4Mdfu9M3PDbfPalB2WJ5dsf4PBHIY4qiM5 jAFZefcWtXvJCVrN9oOk4Cqj0W+A4QO4SzPe30T9wINOMtGc/Ze5oyj6EAYDK0nRgh L0QZ+7JRZbqtMJ9E5PZK8U14P3Y4NUi8gxioCIRM= From: "vince.rev at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95036] New: ICE with variadic type/nttp template templates Date: Sun, 10 May 2020 13:29:31 +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: 10.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vince.rev at gmail 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 attachments.created 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2020 13:29:31 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95036 Bug ID: 95036 Summary: ICE with variadic type/nttp template templates Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vince.rev at gmail dot com Target Milestone: --- Created attachment 48497 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48497&action=3Dedit ICE with variadic type/nttp template templates The following code in std=3Dc++17 (I couldn't make it smaller because I don= 't know where the bug is coming from) compiles correctly with gcc 7 and 8, but fails with gcc 9 and 10. Link to godbolt: https://godbolt.org/z/x_66lB =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D #include #include #include template