This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51852] [regression] [c++11] tree check: expected tree_list, have HÃÃMÃÃÃÃtxÃtsÃ
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Jan 2012 17:56:01 +0000
- Subject: [Bug c++/51852] [regression] [c++11] tree check: expected tree_list, have HÃÃMÃÃÃÃtxÃtsÃ
- Auto-submitted: auto-generated
- References: <bug-51852-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51852
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-27 17:56:01 UTC ---
Author: jakub
Date: Fri Jan 27 17:55:55 2012
New Revision: 183637
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183637
Log:
PR c++/51852
* pt.c (tsubst_pack_expansion): Delete and restore
local_specialization whenever need_local_specialization, not just
when saved_local_specializations is non-NULL.
* g++.dg/other/gc5.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/other/gc5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog