Re: [PATCH] op_helper: fix some compile warnings

2020-04-20 Thread Pan Nengyuan
On 4/20/2020 5:49 PM, Yoshinori Sato wrote: > On Mon, 20 Apr 2020 18:18:39 +0900, > Pan Nengyuan wrote: >> >> >> >> On 4/20/2020 4:50 PM, Yoshinori Sato wrote: >>> On Mon, 20 Apr 2020 14:49:59 +0900, >>> Pan Nengyuan wrote: We got the following compile-time warnings(gcc7.3): /mnt/

Re: [PATCH] op_helper: fix some compile warnings

2020-04-20 Thread Yoshinori Sato
On Mon, 20 Apr 2020 18:18:39 +0900, Pan Nengyuan wrote: > > > > On 4/20/2020 4:50 PM, Yoshinori Sato wrote: > > On Mon, 20 Apr 2020 14:49:59 +0900, > > Pan Nengyuan wrote: > >> > >> We got the following compile-time warnings(gcc7.3): > >> /mnt/sdb//qemu/target/rx/op_helper.c: In function ‘helper

Re: [PATCH] op_helper: fix some compile warnings

2020-04-20 Thread Pan Nengyuan
On 4/20/2020 4:50 PM, Yoshinori Sato wrote: > On Mon, 20 Apr 2020 14:49:59 +0900, > Pan Nengyuan wrote: >> >> We got the following compile-time warnings(gcc7.3): >> /mnt/sdb//qemu/target/rx/op_helper.c: In function ‘helper_scmpu’: >> /mnt/sdb/qemu/target/rx/op_helper.c:213:24: error: ‘tmp1’ may

Re: [PATCH] op_helper: fix some compile warnings

2020-04-20 Thread Yoshinori Sato
On Mon, 20 Apr 2020 14:49:59 +0900, Pan Nengyuan wrote: > > We got the following compile-time warnings(gcc7.3): > /mnt/sdb//qemu/target/rx/op_helper.c: In function ‘helper_scmpu’: > /mnt/sdb/qemu/target/rx/op_helper.c:213:24: error: ‘tmp1’ may be used > uninitialized in this function [-Werror=may

Re: [PATCH] op_helper: fix some compile warnings

2020-04-19 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200420054959.8082-1-pannengy...@huawei.com/ Hi, This series failed the asan build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN === #!/bin/bash e

[PATCH] op_helper: fix some compile warnings

2020-04-19 Thread Pan Nengyuan
We got the following compile-time warnings(gcc7.3): /mnt/sdb//qemu/target/rx/op_helper.c: In function ‘helper_scmpu’: /mnt/sdb/qemu/target/rx/op_helper.c:213:24: error: ‘tmp1’ may be used uninitialized in this function [-Werror=maybe-uninitialized] env->psw_c = (tmp0 >= tmp1);