[Bug c++/55076] ice when compiling lambda function

markus at trippelsdorf dot de gcc-bugzilla@gcc.gnu.org
Fri Oct 26 13:20:00 GMT 2012


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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus at trippelsdorf dot
                   |                            |de

--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-10-26 13:19:45 UTC ---
Testcase was over 7.1 Mbyte, but parallel creduce is quick.

markus@x4 tmp % cat test.ii
void src_new (int);
template < bool > struct A
{
    void prepare ()
    {
        ([=] { src_new (con); });
    } 
    int con;
};

markus@x4 tmp % g++ -std=c++11 -c test.ii
test.ii: In lambda function:
test.ii:6:28: internal compiler error: Segmentation fault
         ([=] { src_new (con); });
                            ^



More information about the Gcc-bugs mailing list