public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19636] Can't compile ethernut OS (avr-gcc)
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
@ 2005-12-05 18:34 ` berndtrog at yahoo dot com
2006-10-11 8:44 ` plessl at tik dot ee dot ethz dot ch
` (14 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: berndtrog at yahoo dot com @ 2005-12-05 18:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from berndtrog at yahoo dot com 2005-12-05 18:34 -------
Compiling of usart.i still fails:
usart.c: In function 'UsartIOCtl':
usart.c:821: error: unable to find a register to spill in class
'BASE_POINTER_REGS'
usart.c:821: error: this is the insn:
(insn 663 162 163 14 (set (mem:HI (plus:HI (reg/f:HI 28 r28)
(const_int 1 [0x1])) [31 S2 A8])
(reg:HI 24 r24)) 12 {*movhi} (nil)
(nil))
usart.c:821: confused by earlier errors, bailing out
Tested with: 4.0.3 20051123, 4.1.0 20051202, 4.2.0 20051202
It compiles OK with 3.4.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] Can't compile ethernut OS (avr-gcc)
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
2005-12-05 18:34 ` [Bug target/19636] Can't compile ethernut OS (avr-gcc) berndtrog at yahoo dot com
@ 2006-10-11 8:44 ` plessl at tik dot ee dot ethz dot ch
2006-10-11 17:05 ` eweddington at cso dot atmel dot com
` (13 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: plessl at tik dot ee dot ethz dot ch @ 2006-10-11 8:44 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]
------- Comment #12 from plessl at tik dot ee dot ethz dot ch 2006-10-11 08:44 -------
I can confirm that this bug still exists on with avr-gcc (GCC) 4.0.2 (running
on Mac OS X 10.4.8/PPC, installed via Macports)
avr-gcc -Os ~/Documents/Downloads/usart.iusart.c: In function UsartIOCtl:
usart.c:821: error: unable to find a register to spill in class
BASE_POINTER_REGS
usart.c:821: error: this is the insn:
(insn 663 162 163 14 (set (mem:HI (plus:HI (reg/f:HI 28 r28)
(const_int 1 [0x1])) [31 S2 A8])
(reg:HI 24 r24)) 12 {*movhi} (nil)
(nil))
usart.c:821: confused by earlier errors, bailing out
Is there any news on this bug?
--
plessl at tik dot ee dot ethz dot ch changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |plessl at tik dot ee dot
| |ethz dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] Can't compile ethernut OS (avr-gcc)
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
2005-12-05 18:34 ` [Bug target/19636] Can't compile ethernut OS (avr-gcc) berndtrog at yahoo dot com
2006-10-11 8:44 ` plessl at tik dot ee dot ethz dot ch
@ 2006-10-11 17:05 ` eweddington at cso dot atmel dot com
2006-10-17 14:43 ` plessl at tik dot ee dot ethz dot ch
` (12 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: eweddington at cso dot atmel dot com @ 2006-10-11 17:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from eweddington at cso dot atmel dot com 2006-10-11 17:05 -------
(In reply to comment #12)
> I can confirm that this bug still exists on with avr-gcc (GCC) 4.0.2 (running
> on Mac OS X 10.4.8/PPC, installed via Macports)
<snip>
> Is there any news on this bug?
Sorry, no. Your comment has been the latest news.
Can you try using GCC 4.1.1 and see if you can still reproduce this bug? That
would be very informative.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] Can't compile ethernut OS (avr-gcc)
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-10-11 17:05 ` eweddington at cso dot atmel dot com
@ 2006-10-17 14:43 ` plessl at tik dot ee dot ethz dot ch
2006-10-27 10:31 ` yuecelm at ee dot ethz dot ch
` (11 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: plessl at tik dot ee dot ethz dot ch @ 2006-10-17 14:43 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 878 bytes --]
------- Comment #14 from plessl at tik dot ee dot ethz dot ch 2006-10-17 14:43 -------
(In reply to comment #13)
> Can you try using GCC 4.1.1 and see if you can still reproduce this bug? That
> would be very informative.
Yes, the bug is still present in gcc-4.1.1, see below. I also had problems
building gcc-4.1.1 for avr. libssp doesn't compile for this target, hence I had
to disable it by passing --disable-libssp to configure.
usart.c: In function UsartIOCtl:
usart.c:821: error: unable to find a register to spill in class
BASE_POINTER_REGS
usart.c:821: error: this is the insn:
(insn 663 162 163 14 (set (mem/c:HI (plus:HI (reg/f:HI 28 r28)
(const_int 1 [0x1])) [27 S2 A8])
(reg:HI 24 r24)) 12 {*movhi} (nil)
(nil))
usart.c:821: confused by earlier errors, bailing out
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] Can't compile ethernut OS (avr-gcc)
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2006-10-17 14:43 ` plessl at tik dot ee dot ethz dot ch
@ 2006-10-27 10:31 ` yuecelm at ee dot ethz dot ch
2007-04-09 21:14 ` eweddington at cso dot atmel dot com
` (10 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: yuecelm at ee dot ethz dot ch @ 2006-10-27 10:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from yuecelm at ee dot ethz dot ch 2006-10-27 10:31 -------
Found an important hint:
If the switch instruction is replaced with else ifs, the file is also
compilable with the -Os option. It seems that the avr-gcc >4.0 can only
optimize a limited number of cases (the file usart.i has 33 cases in one switch
statement).
--
yuecelm at ee dot ethz dot ch changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yuecelm at ee dot ethz dot
| |ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] Can't compile ethernut OS (avr-gcc)
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2006-10-27 10:31 ` yuecelm at ee dot ethz dot ch
@ 2007-04-09 21:14 ` eweddington at cso dot atmel dot com
2007-05-21 16:03 ` eweddington at cso dot atmel dot com
` (9 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-04-09 21:14 UTC (permalink / raw)
To: gcc-bugs
--
eweddington at cso dot atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail|4.0.0 |4.0.0 4.0.2 4.1.1
Last reconfirmed|0000-00-00 00:00:00 |2007-04-09 22:14:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] Can't compile ethernut OS (avr-gcc)
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2007-04-09 21:14 ` eweddington at cso dot atmel dot com
@ 2007-05-21 16:03 ` eweddington at cso dot atmel dot com
2007-05-21 16:10 ` [Bug target/19636] [4.0/4.1/4.2 regression] Can't compile large switch statement eweddington at cso dot atmel dot com
` (8 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-05-21 16:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from eweddington at cso dot atmel dot com 2007-05-21 17:03 -------
Fails with 4.1.2.
--
eweddington at cso dot atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.0.0 4.0.2 4.1.1 |4.0.0 4.0.2 4.1.1 4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] [4.0/4.1/4.2 regression] Can't compile large switch statement
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2007-05-21 16:03 ` eweddington at cso dot atmel dot com
@ 2007-05-21 16:10 ` eweddington at cso dot atmel dot com
2007-05-21 16:17 ` eweddington at cso dot atmel dot com
` (7 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-05-21 16:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from eweddington at cso dot atmel dot com 2007-05-21 17:09 -------
Fails on 4.2.0.
--
eweddington at cso dot atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.0.0 4.0.2 4.1.1 4.1.2 |4.0.0 4.0.2 4.1.1 4.1.2
| |4.2.0
Summary|Can't compile ethernut OS |[4.0/4.1/4.2 regression]
|(avr-gcc) |Can't compile large switch
| |statement
Target Milestone|--- |4.2.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] [4.0/4.1/4.2 regression] Can't compile large switch statement
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2007-05-21 16:10 ` [Bug target/19636] [4.0/4.1/4.2 regression] Can't compile large switch statement eweddington at cso dot atmel dot com
@ 2007-05-21 16:17 ` eweddington at cso dot atmel dot com
2007-05-30 18:59 ` eweddington at cso dot atmel dot com
` (6 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-05-21 16:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from eweddington at cso dot atmel dot com 2007-05-21 17:17 -------
Using the target specific option -mno-tablejump fixes the bug for 4.1.2 and
4.2.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] [4.0/4.1/4.2 regression] Can't compile large switch statement
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2007-05-21 16:17 ` eweddington at cso dot atmel dot com
@ 2007-05-30 18:59 ` eweddington at cso dot atmel dot com
2008-03-15 0:40 ` jsm28 at gcc dot gnu dot org
` (5 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: eweddington at cso dot atmel dot com @ 2007-05-30 18:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from eweddington at cso dot atmel dot com 2007-05-30 18:59 -------
Testcase succeeds with 4.3-20070525, with all -O settings. Changing target
milestone to 4.3.0, lowering priority.
--
eweddington at cso dot atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P4
Target Milestone|4.2.1 |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] [4.0/4.1/4.2 regression] Can't compile large switch statement
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2007-05-30 18:59 ` eweddington at cso dot atmel dot com
@ 2008-03-15 0:40 ` jsm28 at gcc dot gnu dot org
2008-03-15 0:54 ` jsm28 at gcc dot gnu dot org
` (4 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-03-15 0:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #20 from jsm28 at gcc dot gnu dot org 2008-03-15 00:39 -------
Update milestone after 4.3.0 release.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.0 |4.3.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] [4.0/4.1/4.2 regression] Can't compile large switch statement
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2008-03-15 0:40 ` jsm28 at gcc dot gnu dot org
@ 2008-03-15 0:54 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:35 ` [Bug target/19636] [4.1/4.2 " jsm28 at gcc dot gnu dot org
` (3 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-03-15 0:54 UTC (permalink / raw)
To: gcc-bugs
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.1 |4.2.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] [4.1/4.2 regression] Can't compile large switch statement
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (11 preceding siblings ...)
2008-03-15 0:54 ` jsm28 at gcc dot gnu dot org
@ 2008-05-19 20:35 ` jsm28 at gcc dot gnu dot org
2008-07-04 22:46 ` [Bug target/19636] [4.2 " jsm28 at gcc dot gnu dot org
` (2 subsequent siblings)
15 siblings, 0 replies; 16+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #21 from jsm28 at gcc dot gnu dot org 2008-05-19 20:22 -------
4.2.4 is being released, changing milestones to 4.2.5.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.4 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] [4.2 regression] Can't compile large switch statement
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (12 preceding siblings ...)
2008-05-19 20:35 ` [Bug target/19636] [4.1/4.2 " jsm28 at gcc dot gnu dot org
@ 2008-07-04 22:46 ` jsm28 at gcc dot gnu dot org
2008-09-14 12:53 ` aesok at gcc dot gnu dot org
2009-03-30 15:39 ` jsm28 at gcc dot gnu dot org
15 siblings, 0 replies; 16+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #22 from jsm28 at gcc dot gnu dot org 2008-07-04 22:45 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2 regression] Can't |[4.2 regression] Can't
|compile large switch |compile large switch
|statement |statement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] [4.2 regression] Can't compile large switch statement
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (13 preceding siblings ...)
2008-07-04 22:46 ` [Bug target/19636] [4.2 " jsm28 at gcc dot gnu dot org
@ 2008-09-14 12:53 ` aesok at gcc dot gnu dot org
2009-03-30 15:39 ` jsm28 at gcc dot gnu dot org
15 siblings, 0 replies; 16+ messages in thread
From: aesok at gcc dot gnu dot org @ 2008-09-14 12:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #23 from aesok at gcc dot gnu dot org 2008-09-14 12:51 -------
Subject: Bug 19636
Author: aesok
Date: Sun Sep 14 12:50:10 2008
New Revision: 140360
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140360
Log:
PR target/19636
PR target/24894
PR target/31644
PR target/31786
* config/avr/avr.c (legitimate_address_p): Fix problem where subreg
is not recognized as a valid register usage. Allow REG_X to be used
as a base pointer.
* config/avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Remove code that
forces a reload when using a base register.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/19636] [4.2 regression] Can't compile large switch statement
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
` (14 preceding siblings ...)
2008-09-14 12:53 ` aesok at gcc dot gnu dot org
@ 2009-03-30 15:39 ` jsm28 at gcc dot gnu dot org
15 siblings, 0 replies; 16+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-30 15:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #24 from jsm28 at gcc dot gnu dot org 2009-03-30 15:39 -------
Closing 4.2 branch, reported as working with 4.3.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail|4.0.0 4.0.2 4.0.4 4.1.1 |4.0.0 4.0.2 4.0.4 4.1.1
|4.1.2 4.2.0 |4.1.2 4.2.0 4.2.5
Known to work|3.3.2 3.4.3 |3.3.2 3.4.3 4.3.0
Resolution| |FIXED
Target Milestone|4.2.5 |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2009-03-30 15:39 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-19636-10005@http.gcc.gnu.org/bugzilla/>
2005-12-05 18:34 ` [Bug target/19636] Can't compile ethernut OS (avr-gcc) berndtrog at yahoo dot com
2006-10-11 8:44 ` plessl at tik dot ee dot ethz dot ch
2006-10-11 17:05 ` eweddington at cso dot atmel dot com
2006-10-17 14:43 ` plessl at tik dot ee dot ethz dot ch
2006-10-27 10:31 ` yuecelm at ee dot ethz dot ch
2007-04-09 21:14 ` eweddington at cso dot atmel dot com
2007-05-21 16:03 ` eweddington at cso dot atmel dot com
2007-05-21 16:10 ` [Bug target/19636] [4.0/4.1/4.2 regression] Can't compile large switch statement eweddington at cso dot atmel dot com
2007-05-21 16:17 ` eweddington at cso dot atmel dot com
2007-05-30 18:59 ` eweddington at cso dot atmel dot com
2008-03-15 0:40 ` jsm28 at gcc dot gnu dot org
2008-03-15 0:54 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:35 ` [Bug target/19636] [4.1/4.2 " jsm28 at gcc dot gnu dot org
2008-07-04 22:46 ` [Bug target/19636] [4.2 " jsm28 at gcc dot gnu dot org
2008-09-14 12:53 ` aesok at gcc dot gnu dot org
2009-03-30 15:39 ` jsm28 at gcc dot gnu dot 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).