2012/3/6 Georg-Johann Lay <a...@gjlay.de>: > 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 effect on RAM-read.
Approved. Denis.