diff options
author | Tomasz Kamiński <tkaminsk@redhat.com> | 2025-07-16 10:49:48 +0200 |
---|---|---|
committer | Tomasz Kamiński <tkaminsk@redhat.com> | 2025-07-16 12:50:03 +0200 |
commit | c163bbd75b600cc6d1ec752425ee895ef5b9b37d (patch) | |
tree | 1908c28f5204477fe2baf6447670a865fedc5f94 /gcc/tree-ssa-loop-prefetch.cc | |
parent | abf865732a7313cf79ffa325faed3467ed28d8b8 (diff) | |
download | gcc-c163bbd75b600cc6d1ec752425ee895ef5b9b37d.zip gcc-c163bbd75b600cc6d1ec752425ee895ef5b9b37d.tar.gz gcc-c163bbd75b600cc6d1ec752425ee895ef5b9b37d.tar.bz2 |
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 <jwakely@redhat.com>
Signed-off-by: Tomasz Kaminski <tkaminsk@redhat.com>
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.cc')
0 files changed, 0 insertions, 0 deletions