[patch,avr] Fix ICE PR61443
Georg-Johann Lay
avr@gjlay.de
Wed Jun 11 09:01:00 GMT 2014
This is a fix for unrecognizable insn ICE where the push expander generated
(subreg(mem)) for non-generic address-space locations.
Instead of loading byte-wise and legitimizing such expressions, it's easier and
results in better code when we load such MEMs in one chunk.
Ok to apply?
Johann
gcc/
PR target/61443
* config/avr/avr.md (push<mode>1): Avoid (subreg(mem)) when
loading from address spaces.
gcc/testsuite/
PR target/61443
* gcc.target/avr/torture/pr61443.c: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr61443.diff
Type: text/x-patch
Size: 3266 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140611/f91a6b03/attachment.bin>
More information about the Gcc-patches
mailing list