This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: copyprop_hardreg_forward removes division


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


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