[Bug c++/71814] [6/7 Regression] ICE on valid C++11 code: in write_type, at cp/mangle.c:2158

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 21 06:16:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71814

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jul 21 06:15:04 2016
New Revision: 238567

URL: https://gcc.gnu.org/viewcvs?rev=238567&root=gcc&view=rev
Log:
        PR c++/71814 - mangling sizeof... with alias templates (sP)

gcc/cp/
        * mangle.c (write_expression): Handle sizeof... an argument pack.
libiberty/
        * cp-demangle.c (cplus_demangle_operators): Add sP and sZ.
        (d_print_comp_inner): Handle them.
        (d_template_args_1): Split out from d_template_args.
        (d_args_length): New.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/variadic-mangle1a.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/variadic-mangle2a.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/variadic-mangle3.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/variadic-mangle3a.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/mangle.c
    branches/gcc-6-branch/libiberty/ChangeLog
    branches/gcc-6-branch/libiberty/cp-demangle.c
    branches/gcc-6-branch/libiberty/testsuite/demangle-expected


More information about the Gcc-bugs mailing list