https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258
--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Thu Sep 3 15:10:25 2015 New Revision: 227451 URL: https://gcc.gnu.org/viewcvs?rev=227451&root=gcc&view=rev Log: Backport fix for PR libstdc++/62258 from mainline 2015-04-27 Dmitry Prokoptsev <dprokopt...@gmail.com> Michael Hanselmann <pub...@hansmi.ch> PR libstdc++/62258 * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of uncaught exceptions. * testsuite/18_support/exception_ptr/62258.cc: New. Added: branches/gcc-5-branch/libstdc++-v3/testsuite/18_support/exception_ptr/62258.cc Modified: branches/gcc-5-branch/libstdc++-v3/ChangeLog branches/gcc-5-branch/libstdc++-v3/libsupc++/eh_ptr.cc