Re: [Patch,AVR] Fix PR52505

2012-03-06 Thread Denis Chertykov
2012/3/6 Georg-Johann Lay > > This is fix for __memx address space reads that might read from RAM or flash. > For flash reads, never read from RAM so that I/O latches don't get read out > unintentionally. > > Ok for trunk? > > Johann > > libgcc/ >        PR target/52505 >        * config/avr/lib1f

[Patch,AVR] Fix PR52505

2012-03-06 Thread Georg-Johann Lay
This is fix for __memx address space reads that might read from RAM or flash. For flash reads, never read from RAM so that I/O latches don't get read out unintentionally. Ok for trunk? Johann libgcc/ PR target/52505 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally