From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30263 invoked by alias); 1 Apr 2014 17:29:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 30180 invoked by uid 55); 1 Apr 2014 17:29:05 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59224] [4.7/4.8/4.9 Regression] std::uncaught_exception returns true while constructing exception. Date: Tue, 01 Apr 2014 17:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg00076.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59224 --- Comment #6 from Jason Merrill --- 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