This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55076] ice when compiling lambda function
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Oct 2012 13:19:45 +0000
- Subject: [Bug c++/55076] ice when compiling lambda function
- Auto-submitted: auto-generated
- References: <bug-55076-4@http.gcc.gnu.org/bugzilla/>
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); });
^