qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug 1856706] [NEW] target/mips/op_helper.c:971:duplicated branches


From: Thomas Huth
Subject: Re: [Bug 1856706] [NEW] target/mips/op_helper.c:971:duplicated branches ?
Date: Tue, 17 Dec 2019 17:27:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 17/12/2019 14.25, dcb wrote:
> Public bug reported:
> 
> qemu-4.2.0/target/mips/op_helper.c:971:8: warning: this condition has
> identical branches [-Wduplicated-branches]
> 
> Source code is
> 
>    if (other_tc == other->current_tc) {
>         tccause = other->CP0_Cause;
>     } else {
>         tccause = other->CP0_Cause;
>     }
> 
> Possible cut'n'paste error ?

 Hi Edgar,

you added the code in 2011 ... do you still remember the details here,
whether that was on purpose or whether it should look differently?

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]