other/7340: error: unrecognizable insn

grunig@telio.de grunig@telio.de
Wed Jul 17 09:02:00 GMT 2002


>Number:         7340
>Category:       other
>Synopsis:       error: unrecognizable insn
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 17 07:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     grunig@telio.de
>Release:        avr-gcc 3.2
>Organization:
>Environment:
avr-gcc; NutOS Version 2.4.2 www.ethernut.de
>Description:
C:\avrgcc\nut\app\diag>make
avr-gcc -c -mmcu=atmega103 -Os -Wall -Wstrict-prototypes -Wa,-ahlms=main.lst  -IC:/avrgcc/nut/include main.c -o main.o
main.c: In function `getADC':
main.c:248: warning: implicit declaration of function `__inw'
main.c: In function `WriteConfig':
main.c:494: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c:495: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c:496: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c:499: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c:500: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c:507: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c:508: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c:509: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c:510: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c:512: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c:513: warning: passing arg 1 of `WriteBlockToEEPROM' from incompatible pointer type
main.c: In function `Translate':
C:/AVRGCC/avr/include/string-avr.h:275: warning: `__res' might be used uninitialized in this function
main.c: In function `StrToState':
C:/AVRGCC/avr/include/string-avr.h:275: warning: `__res' might be used uninitialized in this function
main.c: In function `monitor_service':
main.c:2201: error: unrecognizable insn:
(insn 19 18 20 0 013CDFC0 (set (reg:QI 47)
        (const_int 254 [0xfe])) -1 (nil)
    (expr_list:REG_EQUAL (const_int 254 [0xfe])
        (nil)))
main.c:2201: internal compiler error: Internal compiler error in extract_insn, at gcc/recog.c:2130
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [main.o] Error 1

Hi, 

the same code compiles under previous version 3.0.2 (avr-gcc) and previous version of NutOS. 

Please not I'm a beginner and maybe my fault.
 
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list