avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Avr-gcc Produces Incorrect Code with -Os


From: Weddington, Eric
Subject: RE: [avr-gcc-list] Avr-gcc Produces Incorrect Code with -Os
Date: Thu, 22 May 2008 06:59:40 -0600

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of David Brown
> Sent: Thursday, May 22, 2008 5:10 AM
> To: address@hidden
> Subject: Re: [avr-gcc-list] Avr-gcc Produces Incorrect Code with -Os
> 
> An alternative way to handle this sort of thing would be to 
> implement a 
> "critical" function attribute like in the msp430 port of gcc - a 
> function with this attribute has interrupts disabled at the 
> start, and 
> restored at the end.  I find it very convenient when 
> programming for the 
> msp430.
> 

I like this idea a lot.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]