http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55542
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-01 14:03:49 UTC --- Author: jakub Date: Fri Feb 1 14:03:44 2013 New Revision: 195652 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195652 Log: Backported from mainline 2012-12-01 Jakub Jelinek <ja...@redhat.com> PR c++/55542 * pt.c (make_ith_pack_parameter_name): Return NULL if name is NULL. (tsubst_decl): Call make_ith_pack_parameter_name even if DECL_NAME is NULL. * g++.dg/cpp0x/vt-55542.C: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/vt-55542.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/pt.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog