avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Bug in gcc version 3.0 20010605


From: Denis Chertykov
Subject: Re: [avr-gcc-list] Bug in gcc version 3.0 20010605
Date: 28 Jun 2001 00:56:34 +0400

"Andreas Schwarz" <address@hidden> writes:

> Hello,
> 
> I think have found a Bug in the gcc-version from www.combio.de/avr/.
> When I try to compile the attached program, I get the following error
> message:
> 
> avr-gcc -c -g -O3 -Wall -Wstrict-prototypes -Wa,-ahlms=gcctest7.lst -mmcu=at
> 90s2313 -I. gcctest7.c -o gcctest7.o
> gcctest7.c: In function `main':
> gcctest7.c:120: Unrecognizable insn:


Index: config/avr/avr.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/avr/avr.md,v
retrieving revision 1.26
diff -c -3 -p -r1.26 avr.md
*** avr.md      2001/01/21 07:08:46     1.26
--- avr.md      2001/06/27 20:34:28
***************
*** 475,485 ****
     (set_attr "cc" "clobber,clobber")])
  
  (define_expand "strlenhi"
!     [(parallel
!       [(set (match_dup 4)
!           (unspec:HI [(match_operand:BLK 1 "memory_operand" "")
!                       (match_operand:QI 2 "const_int_operand" "")
!                       (match_operand:HI 3 "immediate_operand" "")] 0))])
       (set (match_dup 4) (plus:HI (match_dup 4)
                                 (const_int -1)))
       (set (match_operand:HI 0 "register_operand" "")
--- 475,484 ----
     (set_attr "cc" "clobber,clobber")])
  
  (define_expand "strlenhi"
!     [(set (match_dup 4)
!         (unspec:HI [(match_operand:BLK 1 "memory_operand" "")
!                     (match_operand:QI 2 "const_int_operand" "")
!                     (match_operand:HI 3 "immediate_operand" "")] 0))
       (set (match_dup 4) (plus:HI (match_dup 4)
                                 (const_int -1)))
       (set (match_operand:HI 0 "register_operand" "")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]