diff options
author | Kamlesh Kumar <kamleshbhalui@gmail.com> | 2019-11-04 23:24:25 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-11-04 18:24:25 -0500 |
commit | e0c866ddfdb500cacefee4e37fb3e85521c55623 (patch) | |
tree | 97bd2e1b1e838cc820f21aaee225bf416616c1e3 /libiberty/testsuite | |
parent | 04373f9288435fa2980dda99ad988fa5ce99331a (diff) | |
download | gcc-e0c866ddfdb500cacefee4e37fb3e85521c55623.zip gcc-e0c866ddfdb500cacefee4e37fb3e85521c55623.tar.gz gcc-e0c866ddfdb500cacefee4e37fb3e85521c55623.tar.bz2 |
PR c++/91979 - mangling nullptr expression
2019-11-04 Kamlesh Kumar <kamleshbhalui@gmail.com>
gcc/cp
* cp/mangle.c (write_template_arg_literal): Handle nullptr
mangling.
gcc
* common.opt (-fabi-version): Document =14.
* doc/invoke.texi (C++ Dialect Options): Likewise.
gcc/c-family
* c-opts.c (c_common_post_options): Update
latest_abi_version.
libiberty
* cp-demangle.c (d_expr_primary): Handle
nullptr demangling.
* testsuite/demangle-expected: Added test.
From-SVN: r277801
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r-- | libiberty/testsuite/demangle-expected | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 6168148..f68a8a7 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -1446,3 +1446,7 @@ Foo<int>()::X::fn _ZZZ3FooIiEfvENKUlT_E_clIcEEDaS0_EN1X2fnEv Foo<int>()::{lambda(auto:1)#1}::operator()<char>(char) const::X::fn() Foo<int>()::{lambda(auto:1)#1}::operator()<char>(char) const::X::fn +#PR91979 demangling nullptr expression + +_Z3fooILPv0EEvPN9enable_ifIXeqT_LDnEEvE4typeE +void foo<(void*)0>(enable_if<((void*)0)==((decltype(nullptr))), void>::type*) |