[Bug c++/59224] [4.7/4.8/4.9 Regression] std::uncaught_exception returns true while constructing exception.

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 1 17:29:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59224

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Apr  1 17:28:29 2014
New Revision: 208991

URL: http://gcc.gnu.org/viewcvs?rev=208991&root=gcc&view=rev
Log:
    Core DR 475
    PR c++/41174
    PR c++/59224
    * libsupc++/eh_throw.cc (__cxa_throw): Set uncaughtExceptions.
    * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception)
    (__cxa_allocate_exception): Don't set it here.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/eh/uncaught4.C
Modified:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/eh/uncaught1.C
    branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_7-branch/libstdc++-v3/libsupc++/eh_alloc.cc
    branches/gcc-4_7-branch/libstdc++-v3/libsupc++/eh_throw.cc



More information about the Gcc-bugs mailing list