From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQAv7-0005sC-P8 for qemu-devel@nongnu.org; Thu, 11 Apr 2013 02:23:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQAv6-00051n-RW for qemu-devel@nongnu.org; Thu, 11 Apr 2013 02:23:41 -0400 Received: from mail-bk0-x235.google.com ([2a00:1450:4008:c01::235]:54705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQAv6-00051e-JZ for qemu-devel@nongnu.org; Thu, 11 Apr 2013 02:23:40 -0400 Received: by mail-bk0-f53.google.com with SMTP id e19so606369bku.40 for ; Wed, 10 Apr 2013 23:23:39 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <516656E3.1070708@redhat.com> Date: Thu, 11 Apr 2013 08:23:31 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1365564652-26981-1-git-send-email-lig.fnst@cn.fujitsu.com> <51651853.6090701@redhat.com> <1365580536.9553.97.camel@liguang.fnst.cn.fujitsu.com> <516536BE.9060104@redhat.com> <1365646290.9553.123.camel@liguang.fnst.cn.fujitsu.com> In-Reply-To: <1365646290.9553.123.camel@liguang.fnst.cn.fujitsu.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] translate: cleanup gen_intermediate_code_internal List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: li guang Cc: peter.maydell@linaro.org, proljc@gmail.com, e.voevodin@samsung.com, qemu-devel@nongnu.org, blauwirbel@gmail.com, paul@codesourcery.com, afaerber@suse.de, aurelien@aurel32.net, rth@twiddle.net Il 11/04/2013 04:11, li guang ha scritto: >> > I don't care if the compiler doesn't complain (though I doubt it >> > doesn't; are you using --enable-debug? > absolutely yes. > Ok, here is the problem. --enable-debug disables optimization. It will disable some warnings that the compiler only produces with -Ox. You can use --enable-debug when developing, but you must test your patches without it before submitting. Problem solved! Thanks, Paolo