From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59353 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjqIz-0003p5-Ji for qemu-devel@nongnu.org; Mon, 31 Jan 2011 04:44:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjqIy-0006Ae-Cz for qemu-devel@nongnu.org; Mon, 31 Jan 2011 04:44:17 -0500 Received: from hall.aurel32.net ([88.191.126.93]:52143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjqIy-0006AZ-3q for qemu-devel@nongnu.org; Mon, 31 Jan 2011 04:44:16 -0500 Date: Mon, 31 Jan 2011 10:44:14 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 1/8] target-arm: Fixes for several shift instructions: VRSHL, VRSHR, VRSHRN, VSHLL, VRSRA. Message-ID: <20110131094414.GA7112@hall.aurel32.net> 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> <4D468262.8020703@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4D468262.8020703@st.com> Sender: Aurelien Jarno List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christophe Lyon Cc: "qemu-devel@nongnu.org" On Mon, Jan 31, 2011 at 10:35:30AM +0100, Christophe Lyon wrote: > 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). > I get this error with GCC 4.3.5, GCC 4.4.5, GCC 4.5.2 and GCC 4.6.0 (r169270). This is also on x86_64. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net