On Tue, May 4, 2010 at 12:06 AM, Blue Swirl <blauwir...@gmail.com> wrote: > On 5/3/10, Igor V. Kovalenko <igor.v.kovale...@gmail.com> wrote: >> From: Igor V. Kovalenko <igor.v.kovale...@gmail.com> >> >> - match global tte against any context >> - show global tte in MMU dump >> >> Signed-off-by: Igor V. Kovalenko <igor.v.kovale...@gmail.com> > > I get this error: > CC sparc64-softmmu/op_helper.o > cc1: warnings being treated as errors > /src/qemu/target-sparc/op_helper.c: In function 'demap_tlb': > /src/qemu/target-sparc/op_helper.c:129: error: 'context' may be used > uninitialized in this function >
My gcc (Gentoo 4.4.3-r2 p1.2) is silent, and looking at the change all 4 possible cases are handled in switch statement. It should initializes context in 3 usable cases and returns from the 4th which is reserved. How do we fix this issue? -- Kind regards, Igor V. Kovalenko