https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99500
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>: https://gcc.gnu.org/g:bd9b262fa9243e08fefa4973f08d1f09f6694ba0 commit r11-7727-gbd9b262fa9243e08fefa4973f08d1f09f6694ba0 Author: Marek Polacek <pola...@redhat.com> Date: Tue Mar 9 20:55:14 2021 -0500 c++: Fix error-recovery with requires expression [PR99500] This fixes an ICE on invalid code where one of the parameters was error_mark_node and thus resetting its DECL_CONTEXT crashed. gcc/cp/ChangeLog: PR c++/99500 * parser.c (cp_parser_requirement_parameter_list): Handle error_mark_node. gcc/testsuite/ChangeLog: PR c++/99500 * g++.dg/cpp2a/concepts-err3.C: New test.