aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-10-03 20:53:35 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-10-04 15:03:28 +0100
commit7d8189882fc89f6f410fc9bcf0f8226787316f83 (patch)
treec4c80ffead08cf04e46cd2178aeb4736c9639621 /gcc
parent147f6ed39f66a3812a27d0ecd154c8efc1918688 (diff)
downloadgcc-7d8189882fc89f6f410fc9bcf0f8226787316f83.zip
gcc-7d8189882fc89f6f410fc9bcf0f8226787316f83.tar.gz
gcc-7d8189882fc89f6f410fc9bcf0f8226787316f83.tar.bz2
libstdc++: Define <bits/functexcept.h> functions for freestanding [PR107135]
We don't compile src/c++11/functexcept.cc for freestanding, so just define the functions used by freestanding entities as inline calls to std::terminate. libstdc++-v3/ChangeLog: PR libstdc++/107135 * include/bits/functexcept.h [!_GLIBCXX_HOSTED] (__throw_invalid_argument, __throw_out_of_range) (__throw_out_of_range_fmt, __throw_runtime_error) (__throw_overflow_error): Define inline. * include/std/bitset (_M_copy_from_ptr) [!_GLIBCXX_HOSTED]: Replace __builtin_abort with __throw_invalid_argument.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions