This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52043] [4.7 Regression] [C++0x] ICE: SIGSEGV in tsubst_copy (pt.c:12081) with -Wreturn-type
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jan 2012 17:41:32 +0000
- Subject: [Bug c++/52043] [4.7 Regression] [C++0x] ICE: SIGSEGV in tsubst_copy (pt.c:12081) with -Wreturn-type
- Auto-submitted: auto-generated
- References: <bug-52043-4@http.gcc.gnu.org/bugzilla/>
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