From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5908 invoked by alias); 3 Oct 2012 19:42:41 -0000 Received: (qmail 5827 invoked by uid 48); 3 Oct 2012 19:42:29 -0000 From: "gcc at boxie dot eu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54798] New: internal compiler error: Segmentation fault Date: Wed, 03 Oct 2012 19:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc at boxie dot eu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg00235.txt.bz2 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