[gcc r10-8701] libstdc++: Use __throw_exception_again macro for -fno-exceptions
Jonathan Wakely
redi@gcc.gnu.org
Wed Sep 2 15:42:10 GMT 2020
https://gcc.gnu.org/g:7eb76b3b1721247bc2c9ab6a41c1655158ed3411
commit r10-8701-g7eb76b3b1721247bc2c9ab6a41c1655158ed3411
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Sep 2 14:50:34 2020 +0100
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:
---
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 19b1d53f781..d6bb085b3c6 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;
}
}
More information about the Libstdc++-cvs
mailing list