This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58566] [c++11] ICE with invalid expression in lambda body
- From: "ville.voutilainen at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 11 Oct 2015 16:18:52 +0000
- Subject: [Bug c++/58566] [c++11] ICE with invalid expression in lambda body
- Auto-submitted: auto-generated
- References: <bug-58566-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58566
Ville Voutilainen <ville.voutilainen at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-10-11
CC| |ville.voutilainen at gmail dot com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at gmail dot com
Ever confirmed|0 |1
--- Comment #3 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Looks like this should be fixed by changing from void_type_node to
error_mark_node in lambda_return_type() when it diagnoses an incomplete
type. I'll see whether that causes any regressions.