This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50220] [C++0x] [4.7 Regression] ICE when capturing a by-reference template function argument in a lambda


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-30 15:28:44 UTC ---
Author: jason
Date: Tue Aug 30 15:28:40 2011
New Revision: 178326

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178326
Log:
    PR c++/50220
    * semantics.c (add_capture): Call complete_type for copy.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-50220.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]