On Tue, Nov 12, 2013 at 02:57:49PM +0100, Paolo Bonzini wrote: > Il 12/11/2013 14:23, Gleb Natapov ha scritto: > >> If -O0 does not do that, let's move debug builds to -O1. > > > > Why not enable dce with -fdce? > > First, because clang doesn't have fine-tuned optimization options (at > least I couldn't find them and -fdce doesn't work). > -O1 then for clang. > Second, because most optimization options are no-ops at -O0 (try "-fdce > -fdump-tree-all" with GCC. > Strange. Is this by design? We can do -O1 and bunch of "-fno-" to disable most of optimizations -O1 enables, but this is ugly. -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html