This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/71103] avr-gcc crashes with unrecognizable insn error
- From: "denisc at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 21 May 2016 10:47:59 +0000
- Subject: [Bug target/71103] avr-gcc crashes with unrecognizable insn error
- Auto-submitted: auto-generated
- References: <bug-71103-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103
--- Comment #2 from denisc at gcc dot gnu.org ---
Author: denisc
Date: Sat May 21 10:47:27 2016
New Revision: 236558
URL: https://gcc.gnu.org/viewcvs?rev=236558&root=gcc&view=rev
Log:
PR target/71103
* config/avr/avr.md (define_expand "mov<mode>"): If the source
operand is subreg (symbol_ref) then move the symbol ref to register.
PR target/71103
* gcc.target/avr/pr71103.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/avr/pr71103.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.md
trunk/gcc/testsuite/ChangeLog