https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72800
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[5/6/7 Regression] ICE on |[5/6 Regression] ICE on |invalid C++14 code with |invalid C++14 code with |initialized lambda capture: |initialized lambda capture: |tree check: expected class |tree check: expected class |‘type’, have ‘exceptional’ |‘type’, have ‘exceptional’ |(error_mark) in |(error_mark) in |add_capture, at |add_capture, at |cp/lambda.c:505 |cp/lambda.c:505 --- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> --- Fixed in trunk so far.