]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Remove noexcept-specifier from MCF __cxa_guard_acquire [PR116857]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 26 Sep 2024 11:12:13 +0000 (12:12 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 26 Sep 2024 11:14:27 +0000 (12:14 +0100)
commitefdda203f52b9b55ef9acc8ad668bbd0570a8de6
tree22e98b420121d9d50de2595b0d9ccc2984eaa3cc
parent9dc1ab9062e93ae178830d66d5850406777a477d
libstdc++: Remove noexcept-specifier from MCF __cxa_guard_acquire [PR116857]

This function definition should not be marked as non-throwing, because
the declaration in <cxxabi.h> is potentially throwing.

Also fix whitespace.

libstdc++-v3/ChangeLog:

PR libstdc++/116857
* libsupc++/guard.cc (__cxa_guard_acquire): Remove
_GLIBCXX_NOTHROW to match declaration in <cxxabi.h>.
libstdc++-v3/libsupc++/guard.cc