Re: --enable-debug and GCC 4.8 / -Og

From: Date: Mon, 08 Jul 2013 20:34:42 +0000
Subject: Re: --enable-debug and GCC 4.8 / -Og
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-68078@lists.php.net to get a copy of this message
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

« previous php.internals (#68078) next »