This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55542] g++ segmentation fault
- 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, 01 Feb 2013 14:03:49 +0000
- Subject: [Bug c++/55542] g++ segmentation fault
- Auto-submitted: auto-generated
- References: <bug-55542-4@http.gcc.gnu.org/bugzilla/>
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 <jakub@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