avr-gcc internal compiler error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-avr (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
There is a bug in avr-gcc (version 4.7.2) that is fixed in 4.8.2. It seems to be the same as bug 52488 (from 4.7.0; http://
gcc command line:
avr-gcc -mmcu=attiny24 -O2 error.c
Code:
#include <avr/io.h>
int main()
{
int i=0;
char buf[128];
}
Error:
error.c: In function ‘main’:
error.c:9:1: error: unrecognizable insn:
(insn/f 68 67 69 2 (set (reg:QI 28 r28)
(plus:QI (reg:QI 28 r28)
(expr_
(nil)))
error.c:9:1: internal compiler error: in extract_insn, at recog.c:2123
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://