Re: --enable-debug and GCC 4.8 / -Og
On 07.07.2013 16:31, Sebastian Bergmann wrote:
> From the release notes of GCC 4.8:
>
> "A new general optimization level, -Og, has been introduced. It
> addresses the need for fast compilation and a superior debugging
> experience while providing a reasonable level of runtime performance.
> Overall experience for development should be better than the default
> optimization level -O0."
>
> Currently "--enable-debug" sets "-O0". I think it would make sense to
> use "-Og" instead when GCC >= 4.8.0 is used.
>
> What do you think?
There's a recent short discussion about -Og at
http://gcc.gnu.org/ml/gcc/2013-07/msg00001.html
Regards,
Rainer
Thread (5 messages)