[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Add gcc 4.0 support
From: |
Thiemo Seufer |
Subject: |
Re: [Qemu-devel] [PATCH] Add gcc 4.0 support |
Date: |
Wed, 29 Mar 2006 10:59:47 +0100 |
User-agent: |
Mutt/1.5.11+cvs20060126 |
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