From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39433 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjqAm-0000SK-Uz for qemu-devel@nongnu.org; Mon, 31 Jan 2011 04:35:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjqAl-0004UB-EJ for qemu-devel@nongnu.org; Mon, 31 Jan 2011 04:35:48 -0500 Received: from eu1sys200aog110.obsmtp.com ([207.126.144.129]:51965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjqAl-0004TX-6X for qemu-devel@nongnu.org; Mon, 31 Jan 2011 04:35:47 -0500 Message-ID: <4D468262.8020703@st.com> Date: Mon, 31 Jan 2011 10:35:30 +0100 From: Christophe Lyon MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/8] target-arm: Fixes for several shift instructions: VRSHL, VRSHR, VRSHRN, VSHLL, VRSRA. References: <1296229866-32011-1-git-send-email-christophe.lyon@st.com> <1296229866-32011-2-git-send-email-christophe.lyon@st.com> <20110131082050.GA4304@volta.aurel32.net> In-Reply-To: <20110131082050.GA4304@volta.aurel32.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: "qemu-devel@nongnu.org" On 31.01.2011 09:20, Aurelien Jarno wrote: > On Fri, Jan 28, 2011 at 04:50:59PM +0100, christophe.lyon@st.com wrote: >> From: Christophe Lyon >> >> Handle corner cases where the addition of the rounding constant could >> cause overflows. > > After applying this patch, I get the following gcc warning: > CC translate.o > cc1: warnings being treated as errors > qemu/target-arm/translate.c: In function ‘disas_neon_data_insn’: > qemu/target-arm/translate.c:4212: error: ‘imm’ may be used uninitialized in this function > make: *** [translate.o] Error 1 > Which GCC version are you using? I don't have such a warning (using GCC-4.5.1 on x86_64). Christophe.