The problem is that RAMPD/X/Y/Z are restored in the wrong order in ISR epilogue.
Ok for trunk?
Johann
PR target/52506
* gcc/config/avr/avr.c (expand_epilogue): Fix order of restoration
to: RAMPZ, RAMPY, RAMPX, RAMPD.
(expand_prologue): Only clear RAMPZ if it has e
2012/3/6 Georg-Johann Lay :
> The problem is that RAMPD/X/Y/Z are restored in the wrong order in ISR
> epilogue.
>
> Ok for trunk?
>
> Johann
>
> PR target/52506
> * gcc/config/avr/avr.c (expand_epilogue): Fix order of restoration
> to: RAMPZ, RAMPY, RAMPX, RAMPD.
> (ex