[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Unrecognizable insn
From: |
HutchinsonAndy |
Subject: |
RE: [avr-gcc-list] Unrecognizable insn |
Date: |
Sat, 09 Apr 2005 09:40:37 -0400 |
I have been unable to reproduce this on gcc 4.1 and 3.3.3
This might be related to versions so check which winavr/gcc you are using.
The code are I got from 3.3.3 put unused arrays on the stack!! The error
suggests the unrecognised move is the load of frame pointer - so maybe this got
fixed sometime.
I have not check definition, but I assume that you wanted array on
program_memory??
"Shubham Jain" <address@hidden> wrote:
>Hello,
>I am facing problem in an image processing program.
>
>The attached file avr1.c in avr1.zip when executed with the following
>command line produces the error Unrecognizable insn.
>
>avr-gcc -mmcu=atmega128 avr1.c
>-Wl,--defsym=__heap_start=0x801100,--defsym=__heap_end=0x80ffff
>
>Error:
>avr1.c: In function `main':
>avr1.c:16: error: unrecognizable insn:
>(insn 29 27 73 0 0x400178c4 (set (reg:HI 55)
> (const_int 44838 [0xaf26])) -1 (nil)
> (nil))
>avr1.c:16: internal compiler error: in extract_insn, at recog.c:2175
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>
>A simple for loop is causing the error. If I remove the for loop, then
>there is no such error. The problem is the size of the arrays that I have
>taken but I cannot reduce the size and so I am using external RAM. But the
>problem remains.
>
>Thanking you,
>Shubham Jain
>
>
--
Andy Hutchinson
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp