Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68078 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43416 invoked from network); 8 Jul 2013 20:34:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2013 20:34:54 -0000 Authentication-Results: pb1.pair.com header.from=rainer.jung@kippdata.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rainer.jung@kippdata.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain kippdata.de designates 195.227.30.149 as permitted sender) X-PHP-List-Original-Sender: rainer.jung@kippdata.de X-Host-Fingerprint: 195.227.30.149 capsella.kippdata.de Solaris 10 (beta) Received: from [195.227.30.149] ([195.227.30.149:61670] helo=mailserver.kippdata.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/80-39690-C622BD15 for ; Mon, 08 Jul 2013 16:34:53 -0400 Received: from [10.0.110.6] ([10.56.115.147]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id r68KYm6R027272 for ; Mon, 8 Jul 2013 22:34:48 +0200 (CEST) Message-ID: <51DB2262.8050803@kippdata.de> Date: Mon, 08 Jul 2013 22:34:42 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: internals@lists.php.net References: <51D97BC0.9010102@php.net> In-Reply-To: <51D97BC0.9010102@php.net> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] --enable-debug and GCC 4.8 / -Og From: rainer.jung@kippdata.de (Rainer Jung) 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