Hi John, > Watch out for the "optimizer" (aka code terminator) it will > get you "Time after time" (just to add a musical note). Interesting comment. I almost always compile with -Os and I've not had any problems at all with the optimizer. I do embedded linux drivers professionally, and haven't run into any optimizer issues there either. Typically, (99.9% of the time) when I hear things like "my code doesn't work with the optimizer turned on" it's caused by bad code, not by bad optimizations. -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/
Message
Re: [AVR-Chat] Finally, really, actually, starting off with C
2009-01-07 by Dave Hylands