http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54383

             Bug #: 54383
           Summary: Internal compiler error for lamba function using
                    this-> with -std=c++0x
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ger...@pfeifer.com


The following snippet fails with an internal compiler error on
current SVN:

  auto foo = [&](int a) { return a > this->b; };

~/gcc-x86_64/bin/g++ -std=c++0x x.cc
x.cc: In lambda function:
x.cc:1:36: internal compiler error: Segmentation fault
 auto foo = [&](int a) { return a > this->b; };
                                    ^

Reply via email to