http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56219
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2013-04-12
20:05:11 UTC ---
Closed as WON'T FIX
It might be very well the case that code using __[u]int24 (PSImode) variables
is not compiled as efficient as could be.
Maybe some generic optimizations work also for PSImode so that you'll see
better code for PSI operations as a byproduct of some generic optimizations in
the future. But sorry, no PSI-specific optimization hacks in the avr backend
for now.
Remember that R0 is special and does not survive an insn, i.e. it's used like a
scratch register.