From: Jonathan Wakely Date: Wed, 2 Sep 2020 13:50:34 +0000 (+0100) Subject: libstdc++: Use __throw_exception_again macro for -fno-exceptions X-Git-Tag: releases/gcc-10.3.0~963 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eb76b3b1721247bc2c9ab6a41c1655158ed3411;p=thirdparty%2Fgcc.git 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. --- 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; } }