Possible advantage
Posted Jun 18, 2008 2:00 UTC (Wed) by
giraffedata (subscriber, #1954)
In reply to:
Possible advantage by roelofs
Parent article:
Implications of pure and constant functions
Of all the bugs I've analyzed with GDB, I'd say about 5% stop manifesting when I disable optimization. One was a compiler optimizer bug, one was me lying to the compiler (unintentionally, of course), and the rest were wild pointers causing stack corruption.
Of course, this is mostly with older compilers. (The new ones are too slow for me).
(
Log in to post comments)