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

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

RE: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0


From: Weddington, Eric
Subject: RE: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0
Date: Fri, 8 May 2009 19:53:40 -0600

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Bob Paddock
> Sent: Friday, May 08, 2009 6:55 PM
> To: address@hidden
> Subject: Re: [avr-gcc-list] regression in size from 4.2.2 to 4.5.0
> 
> >> 1) -no-inline-small-function    - 69034
> >> 2) --param inline-call-cost=2   - 68964
> >> 3) -fno-inline                  - 68816
> >> 4) -finline-limit=10            - 68810
> >> 5) #2 & #4                      - 68754 6) 
> -finline-limit=3             -
> >> 68754 (same results for 1,2 and 3)
> >
> > I found that it depends on your source codes
> > To get better code size, you have to try different switches 
> combinations.
> 
> Is there any way to apply the switches on a per source file basis?

Yes, it's called "using a Makefile". ;-)




reply via email to

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