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++/69889] [6 Regression] ICE: in assign_temp, at function.c:961


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 26 04:53:58 2016
New Revision: 233733

URL: https://gcc.gnu.org/viewcvs?rev=233733&root=gcc&view=rev
Log:
        PR c++/69889

        * cp-tree.h (AGGR_INIT_FROM_THUNK_P): New.
        * tree.c (build_aggr_init_expr): Set it.
        * semantics.c (simplify_aggr_init_expr): Check it.
        * cp-gimplify.c (cp_genericize_r): Don't walk into
        a call/aggr_init from a thunk.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv10.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-gimplify.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/semantics.c
    trunk/gcc/cp/tree.c

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