[Bug c++/54798] New: internal compiler error: Segmentation fault

gcc at boxie dot eu gcc-bugzilla@gcc.gnu.org
Wed Oct 3 19:42:00 GMT 2012


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



More information about the Gcc-bugs mailing list