diff options
author | Martin Sebor <msebor@redhat.com> | 2019-04-04 23:10:23 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2019-04-04 17:10:23 -0600 |
commit | 187c6369c0b4c7e013fdbe9eb08d098166359056 (patch) | |
tree | 7594a3b21feb39a649170bfa6daa218b1fdd8396 /gcc/tree-profile.c | |
parent | 1a9b15a7d76ee3ee2cd960698a84e34ec10c2bf0 (diff) | |
download | gcc-187c6369c0b4c7e013fdbe9eb08d098166359056.zip gcc-187c6369c0b4c7e013fdbe9eb08d098166359056.tar.gz gcc-187c6369c0b4c7e013fdbe9eb08d098166359056.tar.bz2 |
PR c++/89974 - ICE on a definition of a non-type specialization on a struct object with pointer to member function
PR c++/89974 - ICE on a definition of a non-type specialization on a struct object with pointer to member function
PR c++/89878 - same specializations on a zero-initialized struct object as a non-type parameter treated as distinct
PR c++/89833 - sorry, unimplemented: string literal in function template signature
PR c++/47488 - sorry, unimplemented: string literal in function template signature
gcc/cp/ChangeLog:
PR c++/89974
PR c++/89878
PR c++/89833
PR c++/47488
* decl.c (reshape_init_array_1): Strip trailing zero-initializers
from arrays of trivial type and known size.
* mangle.c (write_expression): Convert braced initializer lists
to STRING_CSTs.
(write_expression): Trim trailing zero-initializers from arrays
of trivial type.
(write_template_arg_literal): Mangle strings the same as braced
initializer lists.
gcc/testsuite/ChangeLog:
PR c++/89974
PR c++/89878
PR c++/89833
PR c++/47488
* gcc/testsuite/g++.dg/abi/mangle69.C: New test.
* gcc/testsuite/g++.dg/abi/mangle70.C: New test.
* gcc/testsuite/g++.dg/abi/mangle71.C: New test.
* gcc/testsuite/g++.dg/abi/mangle72.C: New test.
* gcc/testsuite/g++.dg/cpp0x/constexpr-array19.C: New test.
* gcc/testsuite/g++.dg/cpp2a/nontype-class15.C: New test.
* gcc/testsuite/g++.dg/cpp2a/nontype-class16.C: New test.
* gcc/testsuite/g++.dg/init/array51.C: New test.
From-SVN: r270155
Diffstat (limited to 'gcc/tree-profile.c')
0 files changed, 0 insertions, 0 deletions