[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] binutils 2.22 blow up program size with -flto
From: |
Volker Kuhlmann |
Subject: |
Re: [avr-gcc-list] binutils 2.22 blow up program size with -flto |
Date: |
Sun, 12 Aug 2012 12:28:55 +1200 |
On Mon 30 Jul 2012 19:23:25 NZST +1200, David Brown wrote:
> Also note that code size is not the only measure of how good a
> compiler (or option) is. While it is clearly an important measure
> (especially on small systems), sometimes speed is more important.
You've lost me here. What's your explanation of the meaning of the
compiler flag -Os, as in -O*size*?
In general of course you are right in size not being the only quality
metric of a compiler's output, but right now it's the one most easily
compared.
More so than speed I value producing *correct* code. Here of course 4.7
might be better than 4.3 even if the program is slightly bigger. In my
test application I haven't found a translation problem yet and it runs
as expected - obviously that's nowhere near an exhaustive comparison
though.
Volker
--
Volker Kuhlmann
http://volker.dnsalias.net/ Please do not CC list postings to me.