This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/63601] New: Segfault on usage of 'this' in unevaluated context inside lambda
- From: "sneves at dei dot uc.pt" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Oct 2014 09:04:32 +0000
- Subject: [Bug c++/63601] New: Segfault on usage of 'this' in unevaluated context inside lambda
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63601
Bug ID: 63601
Summary: Segfault on usage of 'this' in unevaluated context
inside lambda
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sneves at dei dot uc.pt
The following minimal example results in an 'ICE: Segmentation fault' in g++
4.8.1, 4.9.1, and 5.0.0 20141019:
auto f = []{ sizeof(this); };