This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42301] [4.4 Regression] Segmentation fault during brace initialization of an empty vector of tuples.
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2009 05:27:09 -0000
- Subject: [Bug c++/42301] [4.4 Regression] Segmentation fault during brace initialization of an empty vector of tuples.
- References: <bug-42301-18530@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jason at gcc dot gnu dot org 2009-12-11 05:27 -------
Subject: Bug 42301
Author: jason
Date: Fri Dec 11 05:26:51 2009
New Revision: 155149
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155149
Log:
PR c++/27425
PR c++/34274
PR c++/42301
* pt.c (expand_template_argument_pack): Handle null arg gracefully.
(convert_template_argument): Use %T for type.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/arg7.C
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/pt.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42301