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: unassig...@gcc.gnu.org

        ReportedBy: g...@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

Reply via email to