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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Nov  4 23:24:25 2019
New Revision: 277801

URL: https://gcc.gnu.org/viewcvs?rev=277801&root=gcc&view=rev
Log:
        PR c++/91979 - mangling nullptr expression

2019-11-04  Kamlesh Kumar  <kamleshbha...@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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/nullptr43.C
      - copied, changed from r277799,
trunk/gcc/testsuite/g++.dg/cpp0x/nullptr27.C
    trunk/gcc/testsuite/g++.dg/cpp0x/nullptr44.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-opts.c
    trunk/gcc/common.opt
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/g++.dg/abi/macro0.C
    trunk/gcc/testsuite/g++.dg/cpp0x/nullptr27.C
    trunk/libiberty/ChangeLog
    trunk/libiberty/cp-demangle.c
    trunk/libiberty/testsuite/demangle-expected

Reply via email to