From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28210 invoked by alias); 21 Jun 2005 23:07:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27978 invoked by uid 48); 21 Jun 2005 23:07:07 -0000 Date: Tue, 21 Jun 2005 23:07:00 -0000 Message-ID: <20050621230707.27975.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050621175735.22139.bangerth@dealii.org> References: <20050621175735.22139.bangerth@dealii.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/22139] [4.0/4.1 regression] Segfault X-Bugzilla-Reason: CC X-SW-Source: 2005-06/txt/msg02781.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-21 23:07 ------- (In reply to comment #12) > This was most likely caused by: > 2004-12-30 Mark Mitchell > > * decl.c (duplicate_decls): Call ggc_free on declarations we will > not be needing any longer. > > The FUNCTION_DECL is still referenced for some reason after the ggc_free. In fact commenting out the ggc_free, this works again so it has to be this patch as this is the same as reverting the patch. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |mmitchel at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22139