Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Finally, really, actually, starting off with C

2009-01-07 by Dave Hylands

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/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.