[Bug c++/55542] g++ segmentation fault

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 1 14:04:00 GMT 2013


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



More information about the Gcc-bugs mailing list