> -----Original Message-----
> From: 
> [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> org] On Behalf Of David Brown
> Sent: Thursday, May 22, 2008 5:10 AM
> To: [email protected]
> 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.


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to