From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FOXTT-0001ez-TW for qemu-devel@nongnu.org; Wed, 29 Mar 2006 05:00:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FOXTP-0001Zz-Od for qemu-devel@nongnu.org; Wed, 29 Mar 2006 05:00:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOXTP-0001Zg-Fa for qemu-devel@nongnu.org; Wed, 29 Mar 2006 05:00:19 -0500 Received: from [193.7.176.20] (helo=bender.bawue.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1FOXVK-0000lr-03 for qemu-devel@nongnu.org; Wed, 29 Mar 2006 05:02:18 -0500 Received: from lagash (unknown [194.74.144.146]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by bender.bawue.de (Postfix) with ESMTP id 12A2144ECB for ; Wed, 29 Mar 2006 12:00:17 +0200 (MEST) Received: from ths by lagash with local (Exim 4.60) (envelope-from ) id 1FOXSt-0002RU-IB for qemu-devel@nongnu.org; Wed, 29 Mar 2006 10:59:47 +0100 Date: Wed, 29 Mar 2006 10:59:47 +0100 Subject: Re: [Qemu-devel] [PATCH] Add gcc 4.0 support Message-ID: <20060329095947.GE31939@networkno.de> References: <20060215122501.GA29709@networkno.de> <20060328140937.GB31939@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: From: Thiemo Seufer Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Tue, Mar 28, 2006 at 08:26:27PM -0800, John Davidorff Pell wrote: > Out of curiosity, wouldn't it be better to specifically request that > feature of gcc, with one of its myriad options, rather than forcing a > rather large optimization sweep? I'm sure that -O2 is good generally, > but using it as a kludge to get at one of the many things that it > enables seems like a not-so-great-idea. Its like buying a restaurant > so that you can get a chef's stove. Well, I went through the ppc disassembly and found no reason to disable -O2. Note that it was the default before, I only noticed the breakage when I lowered the global optimisation to -O0 for better debugging. Thiemo