Re: [Qemu-devel] [PATCH] target-alpha: Fix compiler warning for gcc-4.3 (and older)

2009-12-15 Thread Laurent Desnogues
On Mon, Dec 14, 2009 at 10:54 AM, Stefan Weil wrote: > "Old" compilers obviously are not able to recognise > that all cases are handled here: > > qemu/target-alpha/helper.c:70: error: ‘round_mode’ may be used uninitialized > in this function > > A small modification helps the compiler to do its j

[Qemu-devel] [PATCH] target-alpha: Fix compiler warning for gcc-4.3 (and older)

2009-12-14 Thread Stefan Weil
"Old" compilers obviously are not able to recognise that all cases are handled here: qemu/target-alpha/helper.c:70: error: ‘round_mode’ may be used uninitialized in this function A small modification helps the compiler to do its jobs. gcc-4.4 does not need this, but is still not standard on all