copyprop_hardreg_forward removes division

Lars Brinkhoff lars.spam@nocrew.org
Mon Feb 18 00:18:00 GMT 2002


Jan Hubicka <jh@suse.cz> writes:
> > > kill_set_value is called with the SUBREGs, so I need something like
> > > this, or else kill_set_value will never call kill_value.
> > I guess this is not complettely valid. We are setting the subreg,
> > not the reg itself.  Safe fix would be to call kill_value outside
> > the if block.  I will send patch shortly.
> I've sent patch that should fix the problem to the other thread
> about fabs on P4 that exhibits the same bug.

Yes, that patch works for me.  Thank you!

-- 
Lars Brinkhoff          http://lars.nocrew.org/     Linux, GCC, PDP-10,
Brinkhoff Consulting    http://www.brinkhoff.se/    HTTP programming



More information about the Gcc mailing list