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++/52043] [4.7 Regression] [C++0x] ICE: SIGSEGV in tsubst_copy (pt.c:12081) with -Wreturn-type


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-31 17:41:32 UTC ---
Author: jason
Date: Tue Jan 31 17:41:24 2012
New Revision: 183768

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183768
Log:
    PR c++/52043
    * cp-tree.h (PACK_EXPANSION_LOCAL_P): New.
    * pt.c (make_pack_expansion, tsubst_initializer_list): Set it.
    (tsubst_pack_expansion): Check it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic122.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.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]