From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 988783851537; Fri, 28 Oct 2022 15:05:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 988783851537 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666969558; bh=fx4//nT5RXNS8VXLiEXkmczaJv6sH0wAVn+PPvlkp6c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=C31Qm5BkU4lpDlFPyTdmFJwNepfeAzpJy5Uh1VuCQweO3fkHMmZvwSAf9Nc/bOfyh N9najePUb9YyNLhm6UbBBO4iBP5UU5LHrtO4jYu0wG7wNJVxFbpyZ0wACSNxUN7Dml N//ckYcWciyrLhVJZ6wBCt8oqHeKm1wtEJe2BdG4= From: "jlame646 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107450] GCC accepts invalid program involving multiple template parameter packs Date: Fri, 28 Oct 2022 15:05:51 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: jlame646 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: 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=3D107450 --- Comment #1 from Jason Liam --- Also if we remove one of the template parameter(say T3) then msvc starts compiling this code as well. Demo: https://godbolt.org/z/qacMzoT3q Additionally, this current bug is most probably a duplicate of: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69623=