[Top][All Lists]

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

RE: [avr-gcc-list] Unrecognizable insn

From: Shubham Jain
Subject: RE: [avr-gcc-list] Unrecognizable insn
Date: Mon, 11 Apr 2005 10:44:05 +0530 (IST)
User-agent: SquirrelMail/1.4.3a-1

I am using gcc version:
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

Do you have idea about using external RAM? You have seen what I am doing.
Is it correct? How do I define the arrays in the external RAM?

Shubham Jain

> 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:
>>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
>>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

reply via email to

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