This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for jump optimization
- To: Weiwen Liu <weiwen dot liu at yale dot edu>
- Subject: Re: Patch for jump optimization
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 03 Feb 1998 00:06:56 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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 <weiwen.liu@yale.edu>
> * 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