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.

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to