PR c++/91979 - mangling nullptr expression
authorKamlesh Kumar <kamleshbhalui@gmail.com>
Mon, 4 Nov 2019 23:24:25 +0000 (23:24 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 4 Nov 2019 23:24:25 +0000 (18:24 -0500)
commite0c866ddfdb500cacefee4e37fb3e85521c55623
tree97bd2e1b1e838cc820f21aaee225bf416616c1e3
parent04373f9288435fa2980dda99ad988fa5ce99331a
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
14 files changed:
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/common.opt
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/doc/invoke.texi
gcc/testsuite/g++.dg/abi/macro0.C
gcc/testsuite/g++.dg/cpp0x/nullptr27.C
gcc/testsuite/g++.dg/cpp0x/nullptr43.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/nullptr44.C [new file with mode: 0644]
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected