This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,AVR] Fix PR52505
- From: Denis Chertykov <chertykov at gmail dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Eric Weddington <eric dot weddington at atmel dot com>
- Date: Tue, 6 Mar 2012 20:10:43 +0400
- Subject: Re: [Patch,AVR] Fix PR52505
- Authentication-results: mr.google.com; spf=pass (google.com: domain of chertykov@gmail.com designates 10.112.45.104 as permitted sender) smtp.mail=chertykov@gmail.com; dkim=pass header.i=chertykov@gmail.com
- References: <4F561032.1070106@gjlay.de>
2012/3/6 Georg-Johann Lay <avr@gjlay.de>
>
> 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
> Â Â Â Âfrom RAM.
>
> gcc/
> Â Â Â ÂPR target/52505
> Â Â Â Â* config/avr/avr.c (avr_out_xload): Don't read unintentionally
> Â Â Â Âfrom RAM.
> Â Â Â Â* config/avr/avr.md (xload_8): Adjust insn length.
Approved.
Denis.