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++/61566] [4.9/4.10 Regression] ICE in write_unscoped_name


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61566

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Aug 15 21:59:40 2014
New Revision: 214046

URL: https://gcc.gnu.org/viewcvs?rev=214046&root=gcc&view=rev
Log:
    PR c++/61566
    * pt.c (instantiate_class_template_1): Ignore lambda on
    CLASSTYPE_DECL_LIST.
    (push_template_decl_real): A lambda is not primary.
    (lookup_template_class_1): Don't look for a lambda partial
    instantiation.
    * lambda.c (maybe_add_lambda_conv_op): Distinguish between being
    currently in a function and the lambda living in a function.
    * mangle.c (CLASSTYPE_TEMPLATE_ID_P): False for lambda.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/lambda.c
    trunk/gcc/cp/mangle.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template13.C


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