public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/47509] New: avr-gcc error: could not split insn
@ 2011-01-28 11:04 jh.gcc-bugzilla at plonk dot de
  2011-05-01 18:08 ` [Bug target/47509] " tnorth at fedoraproject dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jh.gcc-bugzilla at plonk dot de @ 2011-01-28 11:04 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: jh.gcc-bugzilla@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/47509] avr-gcc error: could not split insn
  2011-01-28 11:04 [Bug c/47509] New: avr-gcc error: could not split insn jh.gcc-bugzilla at plonk dot de
@ 2011-05-01 18:08 ` tnorth at fedoraproject dot org
  2011-07-24 21:43 ` eric.weddington at atmel dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: tnorth at fedoraproject dot org @ 2011-05-01 18:08 UTC (permalink / raw)
  To: gcc-bugs

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

Thibault North <tnorth at fedoraproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tnorth at fedoraproject dot
                   |                            |org

--- Comment #1 from Thibault North <tnorth at fedoraproject dot org> 2011-05-01 17:59:13 UTC ---
It works with -O1 though.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/47509] avr-gcc error: could not split insn
  2011-01-28 11:04 [Bug c/47509] New: avr-gcc error: could not split insn jh.gcc-bugzilla at plonk dot de
  2011-05-01 18:08 ` [Bug target/47509] " tnorth at fedoraproject dot org
@ 2011-07-24 21:43 ` eric.weddington at atmel dot com
  2011-07-25  8:43 ` gjl at gcc dot gnu.org
  2011-07-25 20:16 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: eric.weddington at atmel dot com @ 2011-07-24 21:43 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Weddington <eric.weddington at atmel dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric.weddington at atmel
                   |                            |dot com, gjl at gcc dot
                   |                            |gnu.org

--- Comment #2 from Eric Weddington <eric.weddington at atmel dot com> 2011-07-24 21:43:26 UTC ---
Johann, you might want to take a look at this one too.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/47509] avr-gcc error: could not split insn
  2011-01-28 11:04 [Bug c/47509] New: avr-gcc error: could not split insn jh.gcc-bugzilla at plonk dot de
  2011-05-01 18:08 ` [Bug target/47509] " tnorth at fedoraproject dot org
  2011-07-24 21:43 ` eric.weddington at atmel dot com
@ 2011-07-25  8:43 ` gjl at gcc dot gnu.org
  2011-07-25 20:16 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-07-25  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-25 08:43:04 UTC ---
There is MEM in the clobber, it's PR49487.

*** This bug has been marked as a duplicate of bug 49487 ***


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/47509] avr-gcc error: could not split insn
  2011-01-28 11:04 [Bug c/47509] New: avr-gcc error: could not split insn jh.gcc-bugzilla at plonk dot de
                   ` (2 preceding siblings ...)
  2011-07-25  8:43 ` gjl at gcc dot gnu.org
@ 2011-07-25 20:16 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-07-25 20:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-25 20:14:39 UTC ---
(In reply to comment #0)

> 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

If, for some reason, you think that or you have evidence of that this bug is
not the same as PR49487, please reopen this PR anlongside with a proper bug
report following
  http://gcc.gnu.org/bugs#need

Thanks.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-25 20:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28 11:04 [Bug c/47509] New: avr-gcc error: could not split insn jh.gcc-bugzilla at plonk dot de
2011-05-01 18:08 ` [Bug target/47509] " tnorth at fedoraproject dot org
2011-07-24 21:43 ` eric.weddington at atmel dot com
2011-07-25  8:43 ` gjl at gcc dot gnu.org
2011-07-25 20:16 ` gjl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).