From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH for-1.7] target-i386: Fix build by providing stub kvm_arch_get_supported_cpuid() Date: Tue, 12 Nov 2013 14:57:49 +0100 Message-ID: <528233DD.6020306@redhat.com> References: <1384204922-8250-1-git-send-email-peter.maydell@linaro.org> <5281580D.7060305@redhat.com> <52816422.8060002@redhat.com> <52821A62.2050001@redhat.com> <52822958.8060508@redhat.com> <20131112132337.GB2008@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Peter Maydell , Anthony Liguori , QEMU Developers , kvm-devel , Patch Tracking , Andreas Tobler , Anthony Liguori To: Gleb Natapov Return-path: Received: from mail-ea0-f174.google.com ([209.85.215.174]:39973 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755696Ab3KLN5y (ORCPT ); Tue, 12 Nov 2013 08:57:54 -0500 Received: by mail-ea0-f174.google.com with SMTP id n15so2866295ead.19 for ; Tue, 12 Nov 2013 05:57:53 -0800 (PST) In-Reply-To: <20131112132337.GB2008@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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). Second, because most optimization options are no-ops at -O0 (try "-fdce -fdump-tree-all" with GCC. Paolo