Public bug reported: Greetings,
I seem to be hitting this bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47509 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-bitfields -mcall-prologues -Wstrict-prototypes -std=gnu99 -I. -I../..//apps/dhcpc -I../..//apps/port_app_mapper -I../..//apps/resolv -I../..//apps/telnetd -I../..//apps/webclient.PROGMEM -I../..//apps/webserver.PROGMEM -I../..//drivers/enc28j60.tux -I../..//libs/avrlib-avrlib-conf -I../..//libs/memb -I../..//libs/net_conf -I../..//libs/prod_conf -I../..//libs/websrv_helper_functions -I../..//libs/webstrings_common.PROGMEM -I../..//drivers/interfaces -I../..//libs/interfaces -I../..//uip -c ../..//apps/port_app_mapper/port_app_mapper.c -o obj/port_app_mapper.o ../..//apps/port_app_mapper/port_app_mapper.c: In function ‘uip_port_app_mapper’: ../..//apps/port_app_mapper/port_app_mapper.c:93:1: error: could not split insn (insn 67 66 68 ../..//apps/port_app_mapper/port_app_mapper.c:85 (parallel [ (set (reg:HI 16 r16 [86]) (rotate:HI (reg:HI 16 r16 [orig:74 D.3131 ] [74]) (const_int 8 [0x8]))) (clobber (mem/c:QI (plus:HI (reg/f:HI 28 r28) (const_int 1 [0x1])) [10 %sfp+1 S1 A8])) ]) 936 {*rotbhi} (nil)) ../..//apps/port_app_mapper/port_app_mapper.c:93:1: internal compiler error: in final_scan_insn, at final.c:2650 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [obj/port_app_mapper.o] Error 1 I'm compiling avr-uip, from here: http://code.google.com/p/avr-uip/ It would be good to either upgrade the version, or backport the patch. Thanks! Ildefonso Camargo ** Affects: gcc-avr (Ubuntu) Importance: Undecided Status: New ** Bug watch added: GCC Bugzilla #49487 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49487 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1011396 Title: avr-gcc error: could not split insn To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-avr/+bug/1011396/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs