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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tomasz Kaminski <tkami...@gcc.gnu.org>:

https://gcc.gnu.org/g:c163bbd75b600cc6d1ec752425ee895ef5b9b37d

commit r16-2292-gc163bbd75b600cc6d1ec752425ee895ef5b9b37d
Author: Tomasz KamiÅski <tkami...@redhat.com>
Date:   Wed Jul 16 10:49:48 2025 +0200

    libstdc++: Do not define __cpp_lib_constexpr_exceptions [PR121114]

    Do not advertise library support for constexpr exceptions, as our
    solution to throwing by __throw_* functions from <bits/functexcept.h>,
    caues constant evaluation to fail, as these functions are not constexpr.

            PR libstdc++/121114

    libstdc++-v3/ChangeLog:

            * include/bits/version.def (constexpr_exceptions): Add no_stdname
            and changed value.
            * include/bits/version.h: Regenerated.
            * testsuite/18_support/exception/version.cc: Test that macro is
            not exported.

    Reviewed-by: Jonathan Wakely <jwak...@redhat.com>
    Signed-off-by: Tomasz Kaminski <tkami...@redhat.com>

Reply via email to