aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-09-24 12:44:09 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-09-26 12:38:40 +0100
commitc45844eb7dadcd48e3ce84444a45c270382f7ad1 (patch)
treec0733da48e548532b56ddda6a824372321d3d8e1 /gcc
parentefdda203f52b9b55ef9acc8ad668bbd0570a8de6 (diff)
downloadgcc-c45844eb7dadcd48e3ce84444a45c270382f7ad1.zip
gcc-c45844eb7dadcd48e3ce84444a45c270382f7ad1.tar.gz
gcc-c45844eb7dadcd48e3ce84444a45c270382f7ad1.tar.bz2
libstdc++: Fix std::basic_stracktrace to not assume allocators throw std::bad_alloc
The standard allows allocators to throw any kind of exception, not only something that can be caught as std::bad_alloc. std::basic_stracktrace was assuming std::bad_alloc. libstdc++-v3/ChangeLog: * include/std/stacktrace (basic_stacktrace::_Impl::_M_allocate): Do not assume allocators only throw std::bad_alloc.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions