[Bug c++/56464] New: Crashes when using implicit this in a lambda capture in member initilizer

ogoffart at kde dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 26 16:19:00 GMT 2013


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

             Bug #: 56464
           Summary: Crashes when using implicit this in a lambda capture
                    in member initilizer
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ogoffart@kde.org


GCC segfault on this (valid) code:

struct bug { bug*a = [&](){return this;}(); };



More information about the Gcc-bugs mailing list