http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47509

           Summary: avr-gcc error: could not split insn
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: jh.gcc-bugzi...@plonk.de


(note: copied from See also https://bugzilla.redhat.com/show_bug.cgi?id=662054)


avr-gcc 4.5.1-2.fc14.1 stops with an error message:

avr-gcc -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts
-g -Os -std=gnu99 -fdata-sections -ffunction-sections -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -mcall-prologues -fshort-enums
-fno-strict-aliasing -Iprotocols/usb/usbdrv -Iprotocols/usb -DAVR_BUILD
-DF_CPU=20000000UL -mmcu=atmega644 -I.  -c -o protocols/uip/uip.o
protocols/uip/uip.c
protocols/uip/uip.c: In function 'uip_udp_new':
protocols/uip/uip.c:570:1: error: could not split insn
(insn 106 105 107 protocols/uip/uip.c:554 (parallel [
            (set (reg:HI 24 r24 [106])
                (rotate:HI (reg:HI 24 r24 [orig:105 lastport ] [105])
                    (const_int 8 [0x8])))
            (clobber (mem/c:QI (plus:HI (reg/f:HI 28 r28)
                        (const_int 1 [0x1])) [0 %sfp+1 S1 A8]))
        ]) 64 {*rotbhi} (expr_list:REG_EQUIV (mem/s/j:HI (plus:HI (reg/f:HI 26
r26 [103])
                (const_int 4 [0x4])) [0 uip_udp_conns[D.4587_20].lport+0 S2
A8])
        (nil)))
protocols/uip/uip.c:570:1: internal compiler error: in final_scan_insn, at
final.c:2650
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugzilla.redhat.com/> for instructions.
make: *** [protocols/uip/uip.o] Error 1


It compiles fine with 4.4.2-1.fc13 and also 4.3.3-3.fc11.


Version-Release number of selected component (if applicable):

avr-libc-1.7.0-1.fc14.noarch
avr-gcc-4.5.1-2.fc14.1.x86_64


Steps to Reproduce:
1. git clone git://github.com/ethersex/ethersex.git

2. cd ethersex/

3. make menuconfig
-> Make sure that "UDP support" is activated in "Network", then select Exit and
save the config

4. make

Reply via email to