OSDN Git Service

PR c++/51852
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 2012 17:55:55 +0000 (17:55 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 2012 17:55:55 +0000 (17:55 +0000)
commit73fea988d6b9696fff042af2498c05dbac842358
tree92e5f8bacf9bdb2f6ac158d2aa92116d627ca228
parent3542dbe2f6c4ff937ea7ae9bab57bb35bd484e53
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183637 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/gc5.C [new file with mode: 0644]