From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23369 invoked by alias); 18 Sep 2006 21:33:02 -0000 Received: (qmail 23128 invoked by alias); 18 Sep 2006 21:32:54 -0000 Date: Mon, 18 Sep 2006 21:33:00 -0000 Message-ID: <20060918213254.23127.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/29132] [4.1/4.2 Regression] Mips exception handling broken. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ddaney at avtrex dot com" 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 X-SW-Source: 2006-09/txt/msg01746.txt.bz2 List-Id: ------- Comment #3 from ddaney at avtrex dot com 2006-09-18 21:32 ------- Subject: Re: [4.2 Regression] Mips exception handling broken. roger at eyesopen dot com wrote: > ------- Comment #1 from roger at eyesopen dot com 2006-09-18 21:27 ------- > Hi David, > > I was wondering if you have a MIPS tree handy, whether you could easily > test the following single line patch: > > Index: dwarf2out.c > =================================================================== > *** dwarf2out.c (revision 117035) > --- dwarf2out.c (working copy) > *************** dwarf2out_begin_prologue (unsigned int l > *** 2572,2578 **** > fde = &fde_table[fde_table_in_use++]; > fde->decl = current_function_decl; > fde->dw_fde_begin = dup_label; > ! fde->dw_fde_current_label = NULL; > fde->dw_fde_hot_section_label = NULL; > fde->dw_fde_hot_section_end_label = NULL; > fde->dw_fde_unlikely_section_label = NULL; > --- 2572,2578 ---- > fde = &fde_table[fde_table_in_use++]; > fde->decl = current_function_decl; > fde->dw_fde_begin = dup_label; > ! fde->dw_fde_current_label = dup_label; > fde->dw_fde_hot_section_label = NULL; > fde->dw_fde_hot_section_end_label = NULL; > fde->dw_fde_unlikely_section_label = NULL; > > Due to all the abstraction with debugging formats, its difficult to tell the > order in which things get executed, and whether this initial value for > dw_fde_current_label survives long enough to avoid use of a set_loc. > I will try the patch now. A full build with libgcj will take me several hours to build and test. David Daney. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29132