[Bug c++/42301] [4.4 Regression] Segmentation fault during brace initialization of an empty vector of tuples.

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Dec 11 05:27:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list