public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ibm/heads/gcc-10-branch)] libstdc++: Use __throw_exception_again macro for -fno-exceptions
@ 2020-09-03 16:41 Peter Bergner
  0 siblings, 0 replies; only message in thread
From: Peter Bergner @ 2020-09-03 16:41 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:7eb76b3b1721247bc2c9ab6a41c1655158ed3411

commit 7eb76b3b1721247bc2c9ab6a41c1655158ed3411
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;
 	  }
 
       }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-03 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03 16:41 [gcc(refs/vendors/ibm/heads/gcc-10-branch)] libstdc++: Use __throw_exception_again macro for -fno-exceptions Peter Bergner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).