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

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

AW: [avr-gcc-list] error in image processing program: unrecognizableinsn


From: Haase Bjoern (PT-BEU/EMT) *
Subject: AW: [avr-gcc-list] error in image processing program: unrecognizableinsn
Date: Tue, 15 Mar 2005 16:21:25 +0100

Hi,

It will be important to know which compiler version you are using and in order 
to reproduce the error it would be necessary to post a minimal source file that 
produces the error.

BTW. I almost am sure to know where the error is coming from. The error is 
within an operation that tries to fill a 16 bit integer with an unsigned 
immediate value of a value > 32768. When reasoning in terms of signed integers 
you are leaving the range accessible by 16 bit variables and it seems that the 
compiler is complaining about that. 

If you provide a test case, it will probably be an easy task to fix the bug.

Yours,

Björn 

-----Ursprüngliche Nachricht-----
Von: address@hidden [mailto:address@hidden Im Auftrag von Shubham Jain
Gesendet: Dienstag, 15. März 2005 10:46
An: address@hidden
Betreff: [avr-gcc-list] error in image processing program: unrecognizableinsn

Dear list member,
I am facing a problem in using avr-gcc with atmega32 or even atmega128.

The size of my executable (using gcc) is 31KB. But, I am doing image
processing which requires five 2-dimensional image arrays of size
image_height  by image_width.

Even though I keep the size of my image quite less i.e. 15 * 17 pixels
(778 bytes), then also I am getting an internal compiler error and it is
asking me to report the bug at gcc.gnu.org.

The error is as follows:
hyst.c:161: error: unrecognizable insn:
(insn 218 1016 1119 30 0x40079814 (set (reg:HI 114)
        (const_int 32800 [0x8020])) -1 (nil)
    (nil))
hyst.c:161: 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.
--------------

When I used image of size 141*106, I got 2 such errors.

Could you please reply to address@hidden if you have a solution
or suggestion.


Thanking you,

Yours sincerely,
Shubham Jain







_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list







reply via email to

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