This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]