Re: [PATCH] target/rx: Fix compiler errors for build with sanitizers

2021-01-28 Thread Laurent Vivier
Le 28/01/2021 à 18:21, Stefan Weil a écrit : > gcc (Debian 10.2.1-6) 10.2.1 20210110 aborts builds with enabled sanitizers: > > ../../../target/rx/op_helper.c: In function ‘helper_scmpu’: > ../../../target/rx/op_helper.c:213:24: error: ‘tmp1’ may be used > uninitialized in this function [-Werror=

Re: [PATCH] target/rx: Fix compiler errors for build with sanitizers

2021-01-28 Thread Thomas Huth
On 28/01/2021 18.21, Stefan Weil wrote: gcc (Debian 10.2.1-6) 10.2.1 20210110 aborts builds with enabled sanitizers: ../../../target/rx/op_helper.c: In function ‘helper_scmpu’: ../../../target/rx/op_helper.c:213:24: error: ‘tmp1’ may be used uninitialized in this function [-Werror=maybe-uniniti

Re: [PATCH] target/rx: Fix compiler errors for build with sanitizers

2021-01-28 Thread Philippe Mathieu-Daudé
+qemu-trivial@ On 1/28/21 6:49 PM, Philippe Mathieu-Daudé wrote: > On 1/28/21 6:21 PM, Stefan Weil wrote: >> gcc (Debian 10.2.1-6) 10.2.1 20210110 aborts builds with enabled sanitizers: >> >> ../../../target/rx/op_helper.c: In function ‘helper_scmpu’: >> ../../../target/rx/op_helper.c:213:24: erro

Re: [PATCH] target/rx: Fix compiler errors for build with sanitizers

2021-01-28 Thread Philippe Mathieu-Daudé
On 1/28/21 6:21 PM, Stefan Weil wrote: > gcc (Debian 10.2.1-6) 10.2.1 20210110 aborts builds with enabled sanitizers: > > ../../../target/rx/op_helper.c: In function ‘helper_scmpu’: > ../../../target/rx/op_helper.c:213:24: error: ‘tmp1’ may be used > uninitialized in this function [-Werror=maybe-

[PATCH] target/rx: Fix compiler errors for build with sanitizers

2021-01-28 Thread Stefan Weil
gcc (Debian 10.2.1-6) 10.2.1 20210110 aborts builds with enabled sanitizers: ../../../target/rx/op_helper.c: In function ‘helper_scmpu’: ../../../target/rx/op_helper.c:213:24: error: ‘tmp1’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 213 | env->psw_c = (tmp0 >=