Re: [Qemu-devel] [PATCH 07/11] cris: avoid write only variables

2010-10-07 Thread Edgar E. Iglesias
On Thu, Oct 07, 2010 at 05:57:30PM +, Blue Swirl wrote: > On Thu, Oct 7, 2010 at 11:07 AM, Edgar E. Iglesias > wrote: > > On Thu, Oct 07, 2010 at 12:08:05PM +0200, Markus Armbruster wrote: > >> Blue Swirl writes: > >> > >> > Compiling with GCC 4.6.0 20100925 produced warnings: [...] > > Mar

Re: [Qemu-devel] [PATCH 07/11] cris: avoid write only variables

2010-10-07 Thread Blue Swirl
On Thu, Oct 7, 2010 at 11:07 AM, Edgar E. Iglesias wrote: > On Thu, Oct 07, 2010 at 12:08:05PM +0200, Markus Armbruster wrote: >> Blue Swirl writes: >> >> > Compiling with GCC 4.6.0 20100925 produced warnings: >> > /src/qemu/target-cris/op_helper.c: In function 'helper_movl_sreg_reg': >> > /src/q

Re: [Qemu-devel] [PATCH 07/11] cris: avoid write only variables

2010-10-07 Thread Edgar E. Iglesias
On Thu, Oct 07, 2010 at 12:08:05PM +0200, Markus Armbruster wrote: > Blue Swirl writes: > > > Compiling with GCC 4.6.0 20100925 produced warnings: > > /src/qemu/target-cris/op_helper.c: In function 'helper_movl_sreg_reg': > > /src/qemu/target-cris/op_helper.c:145:8: error: variable 'tlb_v' set >

Re: [Qemu-devel] [PATCH 07/11] cris: avoid write only variables

2010-10-07 Thread Markus Armbruster
Blue Swirl writes: > Compiling with GCC 4.6.0 20100925 produced warnings: > /src/qemu/target-cris/op_helper.c: In function 'helper_movl_sreg_reg': > /src/qemu/target-cris/op_helper.c:145:8: error: variable 'tlb_v' set > but not used [-Werror=unused-but-set-variable] > In file included from /src/q

[Qemu-devel] [PATCH 07/11] cris: avoid write only variables

2010-10-06 Thread Blue Swirl
Compiling with GCC 4.6.0 20100925 produced warnings: /src/qemu/target-cris/op_helper.c: In function 'helper_movl_sreg_reg': /src/qemu/target-cris/op_helper.c:145:8: error: variable 'tlb_v' set but not used [-Werror=unused-but-set-variable] In file included from /src/qemu/target-cris/translate.c:315