[Bug c++/50220] [C++0x] [4.7 Regression] ICE when capturing a by-reference template function argument in a lambda
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 30 15:32:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50220
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-30 15:29:09 UTC ---
Author: jason
Date: Tue Aug 30 15:29:04 2011
New Revision: 178328
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178328
Log:
PR c++/50220
* semantics.c (add_capture): Call complete_type for copy.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-50220.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/semantics.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list