From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16675 invoked by alias); 6 Feb 2015 10:04:23 -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 16606 invoked by uid 48); 6 Feb 2015 10:04:15 -0000 From: "m.kwiatkowski at avsystem dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception() Date: Fri, 06 Feb 2015 10:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: m.kwiatkowski at avsystem dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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: 2015-02/txt/msg00555.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258 Mateusz Kwiatkowski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.kwiatkowski at avsystem dot com --- Comment #8 from Mateusz Kwiatkowski --- Created attachment 34683 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34683&action=edit Workaround code For all programmers out there that may encounter this bug, I attach a workaround code. Linking your program with it should make rethrow_exception() usable even if the library on the system is buggy.