https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

            Bug ID: 62258
           Summary: uncaught_exception() equals to `true' after
                    rethrow_exception()
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dprokoptsev at gmail dot com

After using std::rethrow_exception() (and catching the exception), all
subsequent calls to std::uncaught_exception() return `true', which is obviously
not the way it was meant to work.

A simple test case is attached.

Reply via email to