From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DDC043858C2C; Sun, 14 Nov 2021 21:25:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DDC043858C2C From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/103236] [9/10/11/12 Regression] ICE: in tsubst_pack_expansion, at cp/pt.c:13162 Date: Sun, 14 Nov 2021 21:25:01 +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-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone everconfirmed bug_status cf_known_to_fail short_desc cf_known_to_work cf_reconfirmed_on 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 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, 14 Nov 2021 21:25:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103236 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.5 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Known to fail| |8.1.0 Summary|ICE: in |[9/10/11/12 Regression] |tsubst_pack_expansion, at |ICE: in |cp/pt.c:13162 |tsubst_pack_expansion, at | |cp/pt.c:13162 Known to work| |7.1.0, 7.4.0 Last reconfirmed| |2021-11-14 --- Comment #2 from Andrew Pinski --- GCC 7.4.0 and before did: : In lambda function: :5:35: error: parameter packs not expanded with '...': [](auto) { }([](auto... x) { x; }); ^ :5:35: note: 'x' : In function 'void foo(const Ts& ...)': :6:4: error: operand of fold expression has no unexpanded parameter packs ([] { ~~~~ [](auto) { }([](auto... x) { x; }); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ }(), ...); ~^~=