[patch] AVR disable peephole2 when not safe (interrupts)
Denis Chertykov
denisc@overta.ru
Fri Dec 29 23:25:00 GMT 2000
Denis Chertykov <denisc@overta.ru> writes:
> Richard Henderson <rth@redhat.com> writes:
>
> > On Sun, Dec 24, 2000 at 01:20:38PM +0300, Denis Chertykov wrote:
> > > As I understand GCC can choose a peephole2 scratch register which don't
> > > used by function and this register will be clobbered and not saved/restored
> > > in prologue/epilogue.
> >
> > Yes. And normally this doesn't matter, since the chosen register
> > is call-clobbered. But with your "interrupt" functions, there are
> > no call-clobbered registers.
Richard ! You was right !
>
> You wrong here !
I was wrong !
I have used my internal GCC with buggy registers definition.
Denis.
More information about the Gcc-patches
mailing list