https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92531

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:3815f211649cd5c8a277348aa71c9c18bc5ed070

commit r9-8141-g3815f211649cd5c8a277348aa71c9c18bc5ed070
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.

Reply via email to