From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15174 invoked by alias); 13 Apr 2015 12:13:34 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 14663 invoked by uid 89); 13 Apr 2015 12:13:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: rattus.hansmi.ch Received: from rattus.hansmi.ch (HELO rattus.hansmi.ch) (178.209.51.87) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 13 Apr 2015 12:13:30 +0000 Received: by rattus.hansmi.ch with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (envelope-from ) id 1YhdEz-000515-Ue; Mon, 13 Apr 2015 12:13:26 +0000 Message-ID: <552BB2E1.2080203@msgid.hansmi.ch> Date: Mon, 13 Apr 2015 12:13:00 -0000 From: Michael Hanselmann MIME-Version: 1.0 To: Jonathan Wakely CC: libstdc++ , gcc-patches Subject: Re: [PATCH libstdc++] Fix for std::uncaught_exception (PR 62258) References: <5f7f8711e5f9f1cdbbd63a00f6d11a3766eb2765.1422844158.git.public@hansmi.ch> In-Reply-To: X-Hello-World: This header intentionally left blank Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-04/txt/msg00572.txt.bz2 On 02.02.2015 12:03, Jonathan Wakely wrote: > On 2 February 2015 at 02:37, Michael Hanselmann wrote: >> Calls to `std::uncaught_exception` after calling >> `std::rethrow_exception' always return `true' when >> `std::uncaught_exception' should return `false' unless an exception is >> in flight. `std::rethrow_exception' does not update >> `__cxa_eh_globals::uncaughtExceptions' while the following call to >> `__cxa_begin_catch' decrements it. This fixes PR 62258. > > The patch looks correct, but I think it can wait until the trunk > reopens after the GCC 5 release. I presume that's the case now that the GCC 5 branch has been created.