[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2007-05-21 Thread eweddington at cso dot atmel dot com


--- 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



[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2007-04-09 Thread eweddington at cso dot atmel dot com


-- 

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|-00-00 00:00:00 |2007-04-09 22:14:02
   date||


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



[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2006-10-27 Thread yuecelm at ee dot ethz dot ch


--- 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



[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2006-10-17 Thread plessl at tik dot ee dot ethz dot ch


--- 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



[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2006-10-11 Thread eweddington at cso dot atmel dot com


--- 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)

> 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



[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2006-10-11 Thread plessl at tik dot ee dot ethz dot ch


--- 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



[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-12-05 Thread berndtrog at yahoo dot com


--- 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



[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-05-05 Thread ericw at evcohs dot com

--- Additional Comments From ericw at evcohs dot com  2005-05-05 18:09 
---
Will someone with the requisite permissions please set this bug to NEW? This has
been confirmed.

Thanks
Eric

-- 


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-04-30 Thread berndtrog at yahoo dot com

--- Additional Comments From berndtrog at yahoo dot com  2005-04-30 17:41 
---
I can confirm this bug for 4_0 and head (using -Os).

Note:
gcc-head-2004-12-07 compiles usart.i OK.
gcc-head-2004-12-29 fails with:

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 653 159 160 14 (set (mem:HI (plus:HI (reg/f:HI 28 r28)
(const_int 1 [0x1])) [32 S2 A8])
(reg:HI 24 r24)) 12 {*movhi} (nil)
(nil))
usart.c:821: internal compiler error: in spill_failure, at reload1.c:1873


-- 


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-02-22 Thread dieterbmeier at yahoo dot com

--- Additional Comments From dieterbmeier at yahoo dot com  2005-02-22 
10:41 ---
>Try patch attached to PR 18251. Good chance it will fix.

I still fails. (18251.patch.bz2 applied)

>If not, pass me the source for a llok at.


Its already attached to this pr.

http://gcc.gnu.org/bugzilla/attachment.cgi?id=8073&action=view

-- 


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-02-18 Thread berndtrog at yahoo dot com


-- 
   What|Removed |Added

 CC||berndtrog at yahoo dot com


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-02-12 Thread andrewhutchinson at cox dot net


-- 
   What|Removed |Added

 CC||andrewhutchinson at cox dot
   ||net


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-02-12 Thread andrewhutchinson at cox dot net

--- Additional Comments From andrewhutchinson at cox dot net  2005-02-13 
02:07 ---
Try patch attached to PR 18251. Good chance it will fix.
If not, pass me the source for a llok at.




-- 


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-02-10 Thread dieterbmeier at yahoo dot com

--- Additional Comments From dieterbmeier at yahoo dot com  2005-02-10 
22:04 ---
>Which device are you compiling for? (-mmcu=?)

atmega128

-- 


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-02-10 Thread ericw at evcohs dot com

--- Additional Comments From ericw at evcohs dot com  2005-02-10 21:48 
---
Subject: Re:  Can't compile ethernut OS (avr-gcc)

dieterbmeier at yahoo dot com wrote:

>--- Additional Comments From dieterbmeier at yahoo dot com  2005-02-10 
>21:44 ---
>It still fails with  4.0.0 20050209.
>BTW, it only fails with -Os. (-O0 to -O3 are OK)
>3_4 branch is OK, too.
>
>  
>
Which device are you compiling for? (-mmcu=?)


-- 


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-02-10 Thread dieterbmeier at yahoo dot com

--- Additional Comments From dieterbmeier at yahoo dot com  2005-02-10 
21:44 ---
It still fails with  4.0.0 20050209.
BTW, it only fails with -Os. (-O0 to -O3 are OK)
3_4 branch is OK, too.

-- 
   What|Removed |Added

  Known to fail||4.0.0
  Known to work||3.3.2 3.4.3


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-02-10 Thread ericw at evcohs dot com

--- Additional Comments From ericw at evcohs dot com  2005-02-10 19:43 
---
Dieter, could you please try this out with a more recent snapshot?

-- 


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-02-10 Thread ericw at evcohs dot com

--- Additional Comments From ericw at evcohs dot com  2005-02-10 18:59 
---
The testcase compiles successfully with avr-gcc on 3.3.2, and 3.4.3, using
-mmcu=atmega128.
Could someone with sufficient permissions please set the "Known To Work" field.

Dieter, could you confirm which device you're compiling for?

-- 
   What|Removed |Added

 CC||ericw at evcohs dot com


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-01-26 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

   Keywords||ice-on-valid-code


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


[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2005-01-26 Thread dieterbmeier at yahoo dot com

--- Additional Comments From dieterbmeier at yahoo dot com  2005-01-26 
11:00 ---
Created an attachment (id=8073)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8073&action=view)
usart.i


-- 


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