On Wed, 9 Nov 2005 21:25, Mike S. wrote: > Thanks for the reply Daniel O'Connor, but I usually don't use the > optimization until I try a couple of and optimization techniques. I > already had some bad experiences with the optimization in some Texas > Instruments DSPs...
If you don't tell GCC to do *any* optimisation it will generate really terrible code. -O is very well tested, I suggest you use it. Just because one compiler somewhere generated bogus code when asked to optimise doesn't mean they all do it. I'm not suggesting GCC is bug free either, but trying to use unoptimised code on a microcontroller is asking for serious code size and performance issues. > I use AVR-GCC. Well that's good since this is the avr-gcc list :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgpngUbWiWiIy.pgp
Description: PGP signature
_______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list