]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Use __throw_exception_again macro for -fno-exceptions
authorJonathan Wakely <jwakely@redhat.com>
Wed, 2 Sep 2020 13:50:34 +0000 (14:50 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 2 Sep 2020 13:50:34 +0000 (14:50 +0100)
libstdc++-v3/ChangeLog:

* include/bits/stl_iterator.h (counted_iterator::operator++(int)):
Use __throw_exception_again macro.

libstdc++-v3/include/bits/stl_iterator.h

index 19b1d53f7818e98f24b7930c61360810119943c4..d6bb085b3c63bdbc4e08507bd924504d363f8530 100644 (file)
@@ -2013,7 +2013,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
            return _M_current++;
          } __catch(...) {
            ++_M_length;
-           throw;
+           __throw_exception_again;
          }
 
       }