This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/72800] [5/6/7 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: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Aug 2016 09:45:51 +0000
- Subject: [Bug c++/72800] [5/6/7 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
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-08-04
CC| |marxin at gcc dot gnu.org
Target Milestone|--- |5.5
Summary|ICE on invalid C++14 code |[5/6/7 Regression] ICE on
|with initialized lambda |invalid C++14 code with
|capture: tree check: |initialized lambda capture:
|expected class ‘type’, have |tree check: expected class
|‘exceptional’ (error_mark) |‘type’, have ‘exceptional’
|in add_capture, at |(error_mark) in
|cp/lambda.c:505 |add_capture, at
| |cp/lambda.c:505
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed.