On 08/02/2011 12:52 AM, Georg-Johann Lay wrote:
> There are still unrecognizables:
> 
> gcc.c-torture/execute/complex-7.c:56:1: error: unrecognizable insn:
> (insn 17 14 18 3 (set (mem:SF (post_dec:HI (reg/f:HI 32 __SP_L__)) [0 S4 A8])
>         (reg:SF 43 [ f5.0+4 ]))
> /mnt/nfs/home/georg/gnu/gcc.gnu.org/trunk/gcc/testsuite/gcc.c-torture/execute/complex-7.c:52
>  -1
>      (nil))

I was pretty sure I ran the compile tests.  I've tried several
times to come up with an environment that would properly run
the simulator, without success.  AVR support seems to be in
too many different places, none of which properly communicate
with each other.

That said, this fixes that test case, committed as obvious.


r~
        * config/avr/avr.md (push<MPUSH>1): Don't constrain the operand.

diff --git a/gcc/config/avr/avr.md b/gcc/config/avr/avr.md
index f60f9f0..b8560df 100644
--- a/gcc/config/avr/avr.md
+++ b/gcc/config/avr/avr.md
@@ -221,7 +221,7 @@
    (SF "") (SC "")])
 
 (define_expand "push<mode>1"
-  [(match_operand:MPUSH 0 "general_operand" "")]
+  [(match_operand:MPUSH 0 "" "")]
   ""
 {
   int i;

Reply via email to