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

Reply via email to