avr-gcc error: could not split insn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-avr (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Greetings,
I seem to be hitting this bug:
http://
on the Ubuntu package on precise.
For now, I worked it around by using -O1, but that's not very good for embedded, -Os will be better, but it fails:
avr-gcc -Wall -mmcu=atmega1284p -g -fpack-struct -Os -funsigned-char -funsigned-
../..//
../..//
(insn 67 66 68 ../..//
(set (reg:HI 16 r16 [86])
]) 936 {*rotbhi} (nil))
../..//
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://
make: *** [obj/port_
I'm compiling avr-uip, from here:
http://
It would be good to either upgrade the version, or backport the patch.
Thanks!
Ildefonso Camargo
Sorry, pasted the wrong URL:
http:// gcc.gnu. org/bugzilla/ show_bug. cgi?id= 49487
That's the bug on gcc. Well, the link was on the other bug too, but here is the direct link just in case.
Also, the patch seems to be this one:
http:// gcc.gnu. org/viewcvs? view=revision& revision= 176277
Ildefonso.