From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B3B8E3860825; Fri, 8 Apr 2022 14:00:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3B8E3860825 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/103885] [9/10/11 Regression] ICE in capturing lambda for certain constexpr/auto combination Date: Fri, 08 Apr 2022 14:00:38 +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: 11.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.5 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 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: Fri, 08 Apr 2022 14:00:38 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103885 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2837450c4e8f5f241db5519977ab24c1f871258f commit r11-9801-g2837450c4e8f5f241db5519977ab24c1f871258f Author: Patrick Palka Date: Thu May 27 14:25:33 2021 -0400 c++: parameter pack inside static_assert [PR99893] Here, we're not finding the parameter pack inside the static_assert bec= ause STATIC_ASSERT trees are tcc_exceptional, and we weren't explicitly walk= ing them in cp_walk_subtrees. PR c++/99893 PR c++/103885 gcc/cp/ChangeLog: * tree.c (cp_walk_subtrees) : New case. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/static_assert17.C: New test. (cherry picked from commit fc3fdf0f2196e805a3a43ccb73595c33673670f3)=