-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
Is there any way to apply the switches on a per source file basis?
Yes, it's called using a Makefile. ;-)
Eric, my Makefile builds four concurrent models, in to separate
object trees from a single source set, applies configuration
parameters to each model,
serializes each build, CRC's the
-Original Message-
From:
avr-gcc-list-bounces+eric.weddington=atmel@nongnu.org
[mailto:avr-gcc-list-bounces+eric.weddington=atmel@nongnu.
org] On Behalf Of Bob Paddock
Sent: Friday, May 08, 2009 6:55 PM
To: avr-gcc-list@nongnu.org
Subject: Re: [avr-gcc-list] regression
Thanks for all the input.
I will do some more investigating myself and hopefully produce a small
test case as well as try to track down the actual commits to gcc which
caused it. Unfortunately I suspect there are multiple causes to
blame. I will post back when I have more information. I
:
avr-gcc-list-bounces+knut.schwichtenberg=siemens@nongnu.or
g
[mailto:avr-gcc-list-bounces+knut.schwichtenberg=siemens@n
ongnu.org] On Behalf Of Sean D'Epagnier
Sent: Thursday, May 07, 2009 8:21 AM
To: Weddington, Eric
Cc: avr-gcc-list@nongnu.org
Subject: Re: [avr-gcc-list] regression
Schwichtenberg, Knut wrote:
The increase in size was also subject for other gcc versions. Often the
following gcc comand-line swichtes were proposed:
-fno-inline-small-function
-fno-split-wide-types
-fno-move-loop-invariants
-
Additionally Larry Barello
for any of us to help
You must provide the options you used to compile.
provided compilable code snippets with the exact command line options
you used.
it would be great if you made a makefile that ran the tests too.
-Os between the GCC versions most likely don't have the same options,
On Wed, May 06, 2009 at 12:44:42PM -0600, Sean D'Epagnier wrote:
I was trying to reduce the size of my binary so it would fit on some
128kb parts. I normally used gcc 4.2.2 for this project, but decided
to try gcc 4.5.0. To my surprise, the resulting binary was 3.5kb
_larger_ with the
-Original Message-
From:
avr-gcc-list-bounces+eric.weddington=atmel@nongnu.org
[mailto:avr-gcc-list-bounces+eric.weddington=atmel@nongnu.
org] On Behalf Of Sean D'Epagnier
Sent: Wednesday, May 06, 2009 12:45 PM
To: avr-gcc-list@nongnu.org
Subject: [avr-gcc-list]