diff options
author | Jason Merrill <jason@redhat.com> | 2016-07-15 14:38:15 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-07-15 14:38:15 -0400 |
commit | 34bbc4c502157fb08e6eba1d09380e2599ec3720 (patch) | |
tree | 1ee707547ea5521e317e522ed83b170324ec4a05 /libiberty/testsuite/demangle-expected | |
parent | d022c55a4b8bdac385efadf42ba2a374c5960418 (diff) | |
download | gcc-34bbc4c502157fb08e6eba1d09380e2599ec3720.zip gcc-34bbc4c502157fb08e6eba1d09380e2599ec3720.tar.gz gcc-34bbc4c502157fb08e6eba1d09380e2599ec3720.tar.bz2 |
PR c++/71814 - mangling sizeof... (sP and sZ)
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.
From-SVN: r238389
Diffstat (limited to 'libiberty/testsuite/demangle-expected')
-rw-r--r-- | libiberty/testsuite/demangle-expected | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 1d95952..92ad01f 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -4536,6 +4536,12 @@ void baz<int>(A<sizeof (foo((int)(), (floatcomplex )00000000_00000000))>*) --format=gnu-v3 _Z3fooI1FEN1XIXszdtcl1PclcvT__EEE5arrayEE4TypeEv X<sizeof ((P(((F)())())).array)>::Type foo<F>() + +_Z1fIJidEEv1AIXsZT_EE +void f<int, double>(A<2>) + +_ZN1A1fIJiiEiJiiiEEEvRAsPDpT_T0_DpT1_E_iS3_S5_ +void A::f<int, int, int, int, int, int>(int (&) [6], int, int, int, int) # # Tests a use-after-free problem PR70481 |