This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52461] New: [avr] XMEGA+EBI: RAMPZ clobbered while reading from flash
- 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: Fri, 02 Mar 2012 12:19:40 +0000
- Subject: [Bug target/52461] New: [avr] XMEGA+EBI: RAMPZ clobbered while reading from flash
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52461
Bug #: 52461
Summary: [avr] XMEGA+EBI: RAMPZ clobbered while reading from
flash
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
Target: avr
To read from flash on devices with more than 64KiB of flash, RAMPZ is set
appropriately before using ELPM instruction.
Devices with external bus interface (EBI) use RAMPZ as high part of the RAM
address while reading from RAM.
Thus, and RAM read on EBI device that is performed via Z will fail after data
has been read from Flash.