From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 16F2A384B823; Thu, 1 Apr 2021 06:58:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 16F2A384B823 From: "hewillk at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99850] [P1102R2] reject valid lambda syntax in C++23 Date: Thu, 01 Apr 2021 06:58:52 +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.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: hewillk at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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 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: Thu, 01 Apr 2021 06:58:53 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99850 --- Comment #4 from =E5=BA=B7=E6=A1=93=E7=91=8B = --- This ICE may be caused by not handle this form. template concept C =3D true; auto l =3D [] requires (C && ...) -> void {}; https://godbolt.org/z/vo8xPd4hY :3:48: internal compiler error: Segmentation fault 3 | auto l =3D [] requires (C && ...) -> void {}; | ^~~ 0x1cfca39 internal_error(char const*, ...) ???:0 0x940286 convert_generic_types_to_packs(tree_node*, int, int) ???:0 0x8e126d c_parse_file() ???:0 0xa60292 c_common_parse_file() ???:0 Please submit a full bug report, with preprocessed source if appropriate.=