http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52507
Bug #: 52507 Summary: [avr]: movmem loop for __memx address space uses wrong loop label Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: g...@gcc.gnu.org The __movmemx_hi and __movmemx_qi functions from libgcc use an incorrect loop label for the RAM-copy part of their code. Effect will be that after the first byte the read will be from Flash and not from RAM.