aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-01-17 08:37:49 -0500
committerJason Merrill <jason@redhat.com>2020-01-17 09:25:01 -0500
commiteff9c61dfb082cb3ea26f354d795e4098ec76866 (patch)
tree4f3aa4074d5cf5eaee21e6f2877077f5d0f20087 /libcpp
parentc60a18f8056facdcf370ce0e5f51550c9df5b539 (diff)
downloadgcc-eff9c61dfb082cb3ea26f354d795e4098ec76866.zip
gcc-eff9c61dfb082cb3ea26f354d795e4098ec76866.tar.gz
gcc-eff9c61dfb082cb3ea26f354d795e4098ec76866.tar.bz2
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.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions