This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fix for incompletely duplicated code in strength_reduce


> I think this hunk
> 
>   	      /* Skip the consecutive insns, if there are any.  */
> ! 	      if (VARRAY_INT (n_times_set, REGNO (dest_reg)) == 1)
> ! 		p = last_consec_insn;
> 
> Probably should be using !=, since in that case last_consec_insn will always
> have a useful value as set by consec_sets_giv.  But I'll let Joern chime in
> with the right fix.

Yes, that's exactly what I meant to write.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]