https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92531
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:eff9c61dfb082cb3ea26f354d795e4098ec76866 commit r10-6042-geff9c61dfb082cb3ea26f354d795e4098ec76866 Author: Jason Merrill <ja...@redhat.com> Date: Fri Jan 17 08:37:49 2020 -0500 PR c++/92531 - ICE with noexcept(lambda). This was failing because uses_template_parms didn't recognize LAMBDA_EXPR as a kind of expression. Instead of trying to enumerate all the different varieties of expression and then aborting if what's left isn't error_mark_node, let's handle error_mark_node and then assume anything else is an expression. * pt.c (uses_template_parms): Don't try to enumerate all the expression cases.