From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18188 invoked by alias); 13 Apr 2015 12:28:25 -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 18170 invoked by uid 89); 13 Apr 2015 12:28:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-lb0-f177.google.com Received: from mail-lb0-f177.google.com (HELO mail-lb0-f177.google.com) (209.85.217.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 13 Apr 2015 12:28:23 +0000 Received: by lbcga7 with SMTP id ga7so57238230lbc.1; Mon, 13 Apr 2015 05:28:20 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.152.19.199 with SMTP id h7mr13479943lae.32.1428928100425; Mon, 13 Apr 2015 05:28:20 -0700 (PDT) Received: by 10.112.125.234 with HTTP; Mon, 13 Apr 2015 05:28:20 -0700 (PDT) In-Reply-To: <552BB2E1.2080203@msgid.hansmi.ch> References: <5f7f8711e5f9f1cdbbd63a00f6d11a3766eb2765.1422844158.git.public@hansmi.ch> <552BB2E1.2080203@msgid.hansmi.ch> Date: Mon, 13 Apr 2015 12:28:00 -0000 Message-ID: Subject: Re: [PATCH libstdc++] Fix for std::uncaught_exception (PR 62258) From: Jonathan Wakely To: Michael Hanselmann Cc: "libstdc++" , gcc-patches Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-04/txt/msg00576.txt.bz2 On 13 April 2015 at 13:13, Michael Hanselmann wrote: > 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. Yes, thanks for the reminder. I plan to fix it some time this week.