[cmake-developers] New RelWithDebInfo flags?
Ben Boeckel
ben.boeckel at kitware.com
Sat Nov 22 11:16:59 EST 2014
Hi,
I just discovered today that it looks like GCC 4.8 shipped with a new
optimization level:
-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.
Would using this (if available) rather than -O2 in RelWithDebInfo
configurations be something developers would want?
Mailing list thread about the patch:
https://gcc.gnu.org/ml/gcc-patches/2012-09/msg00097.html
Thanks,
--Ben
More information about the cmake-developers
mailing list