This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/72800] [5/6 Regression] ICE on invalid C++14 code with initialized lambda capture: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in add_capture, at cp/lambda.c:505
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Aug 2016 19:24:46 +0000
- Subject: [Bug c++/72800] [5/6 Regression] ICE on invalid C++14 code with initialized lambda capture: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in add_capture, at cp/lambda.c:505
- Auto-submitted: auto-generated
- References: <bug-72800-4@http.gcc.gnu.org/bugzilla/>
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.