> -----Original Message-----
> From: 
> [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> org] On Behalf Of Joerg Wunsch
> Sent: Monday, January 14, 2008 12:30 PM
> To: [email protected]
> Subject: Re: [avr-gcc-list] '-morder' option with Avr-libc: 
> comparison table
> 
> "Weddington, Eric" <[EMAIL PROTECTED]> wrote:
> 
> > -frename-registers: "This optimization will most benefit processors
> > with lots of registers.", which the AVR qualifies for "lots of
> > registers".
> 
> Yes, sure, it is.  But that's also what makes debugging highly
> optimized code a little annoying to those people who are used to
> architectures with almost no free registers, where all your C
> variables are usually reflected 1:1 in RAM.

Sure, that's the trade-off. I just wasn't aware of that switch, and that
it does seem to help make smaller code in certain cases. It would be
nice to know if it is a consistent win on code size for the AVR.

Eric W.


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

Reply via email to