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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:999e617d3121b82921c8031ee695fd036f553f04

commit r14-1516-g999e617d3121b82921c8031ee695fd036f553f04
Author: Patrick Palka <ppa...@redhat.com>
Date:   Sat Jun 3 09:03:27 2023 -0400

    c++: mangle noexcept-expr [PR70790]

    This implements noexcept(expr) mangling and demangling as per the
    Itanium ABI.

            PR c++/70790

    gcc/cp/ChangeLog:

            * mangle.cc (write_expression): Handle NOEXCEPT_EXPR.

    libiberty/ChangeLog:

            * cp-demangle.c (cplus_demangle_operators): Add the noexcept
            operator.
            (d_print_comp_inner) <case DEMANGLE_COMPONENT_UNARY>: Always
            print parens around the operand of noexcept too.
            * testsuite/demangle-expected: Test noexcept operator
            demangling.

    gcc/testsuite/ChangeLog:

            * g++.dg/abi/mangle78.C: New test.

Reply via email to