From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25713 invoked by alias); 16 Feb 2010 23:07:36 -0000 Received: (qmail 25669 invoked by uid 48); 16 Feb 2010 23:07:25 -0000 Date: Tue, 16 Feb 2010 23:07:00 -0000 Message-ID: <20100216230725.25668.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/43099] rethrowing leaks memory like a sieve In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dan dot colascione at gmail dot com" 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 X-SW-Source: 2010-02/txt/msg01603.txt.bz2 ------- Comment #7 from dan dot colascione at gmail dot com 2010-02-16 23:07 ------- Created an attachment (id=19894) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19894&action=view) Minimal testcase The leak triggered by the return in the 'catch' statement in current_ex(). I've bracketed the problematic code with an ifdef. Both catch clauses are necessary to trigger the bug. -- dan dot colascione at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #19892|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43099