This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54798] New: internal compiler error: Segmentation fault
- From: "gcc at boxie dot eu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Oct 2012 19:42:29 +0000
- Subject: [Bug c++/54798] New: internal compiler error: Segmentation fault
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54798
Bug #: 54798
Summary: internal compiler error: Segmentation fault
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gcc@boxie.eu
Created attachment 28343
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28343
test case
I'm getting an internal compiler error both on gcc 4.7.0 on Ubuntu 12.04.1 and
an MinGW-w64 gcc 4.7.2 for Windows. A reduced source test case is attached. The
error does not occur as soon as I use the captured this pointer. Output is as
follows:
$ g++ -std=c++11 ice.cpp -o ice
ice.cpp: In lambda function:
ice.cpp:47:24: internal compiler error: Segmentation fault