On 31.01.2011 09:20, Aurelien Jarno wrote: > On Fri, Jan 28, 2011 at 04:50:59PM +0100, christophe.l...@st.com wrote: >> From: Christophe Lyon <christophe.l...@st.com> >> >> 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.