From 7eb76b3b1721247bc2c9ab6a41c1655158ed3411 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 2 Sep 2020 14:50:34 +0100 Subject: [PATCH] libstdc++: Use __throw_exception_again macro for -fno-exceptions libstdc++-v3/ChangeLog: * include/bits/stl_iterator.h (counted_iterator::operator++(int)): Use __throw_exception_again macro. --- libstdc++-v3/include/bits/stl_iterator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/bits/stl_iterator.h b/libstdc++-v3/include/bits/stl_iterator.h index 19b1d53f7818..d6bb085b3c63 100644 --- a/libstdc++-v3/include/bits/stl_iterator.h +++ b/libstdc++-v3/include/bits/stl_iterator.h @@ -2013,7 +2013,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION return _M_current++; } __catch(...) { ++_M_length; - throw; + __throw_exception_again; } } -- 2.47.2