This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52507] New: [avr]: movmem loop for __memx address space uses wrong loop label
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Mar 2012 11:34:58 +0000
- Subject: [Bug target/52507] New: [avr]: movmem loop for __memx address space uses wrong loop label
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: gjl@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.