This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for incompletely duplicated code in strength_reduce
- To: law at cygnus dot com
- Subject: Re: Fix for incompletely duplicated code in strength_reduce
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Tue, 15 Dec 1998 16:42:19 +0000 (GMT)
- Cc: m dot hayes at elec dot canterbury dot ac dot nz, amylaar at cygnus dot co dot uk, wilson at cygnus dot com, egcs-patches at cygnus dot com
> 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.