Comment Re:Don't try to be more Catholic than the Pope... (Score 3, Informative) 191
Actually since 4.8, the correct optimization level to use for debugging is now -Og
From the documentation at http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
-Og Optimize debugging experience. -Og enables optimizations that do not interfere with debugging. It should be the optimization level of choice for the standard edit-compile-debug cycle, offering a reasonable level of optimization while maintaining fast compilation and a good debugging experience.