From mboxrd@z Thu Jan 1 00:00:00 1970 From: Weiwen Liu To: law@cygnus.com Cc: egcs@cygnus.com Subject: Re: Patch for jump optimization Date: Tue, 03 Feb 1998 04:00:00 -0000 Message-id: References: <6378.886489616@hurl.cygnus.com> X-SW-Source: 1998-02/msg00118.html On Tue, 3 Feb 1998, Jeffrey A Law wrote: > > In message < Pine.OSF.3.96.980202225739.10800A-100000@ylws34 >you write: > > On alpha-dec-osf4.0, the current egcs in the cvs tree fails to build > > libgcc2.a, because the jump optimization (modified_in_p) fails to > > process the following insn. > > > > (jump_insn 52 51 54 (set (pc) > > (if_then_else (eq (reg:DI 102) > > (const_int 0)) > > (label_ref 56) > > (pc))) 178 {umindi3+2} (nil) > > (nil)) > > > > I use the following patch to get the bootstrap going. > > > > Mon Feb 2 1998 11:00:20 Weiwen Liu > > * rtlanal.c (modified_in_p): Do not check modified_in_p if > > XEXP (x, i) is NULL. > What field number was NULL (ie, what is the value of 'i' when it failed)? > > The real bug might be elsewhere... > > jeff > When i is 6, XEXP (x, 6) = (nil)