Rotate patterns that split byte sized rotates into moves do not correctly consider overlap of operands.
This was noted on a similar but different shift bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39635 and detailed here http://lists.gnu.org/archive/html/avr-gcc-list/2009-03/msg00158.html Bug raised to reference separate testcase and fix. -- Summary: AVR Rotate patterns do not correctly consider overlap. Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i486-linux-gnu GCC target triplet: avr-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41885