qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1813460] Re: qemu/target/arm/translate-a64.c:2039: bad


From: Richard Henderson
Subject: [Qemu-devel] [Bug 1813460] Re: qemu/target/arm/translate-a64.c:2039: bad test ?
Date: Sun, 27 Jan 2019 19:04:49 -0000

There is a patch on list for this:
https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg06728.html

Using the flag is a good idea.

** Changed in: qemu
       Status: New => In Progress

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1813460

Title:
  qemu/target/arm/translate-a64.c:2039: bad test ?

Status in QEMU:
  In Progress

Bug description:
  qemu/target/arm/translate-a64.c:2039]: (warning) Logical disjunction
  always evaluates to true: op3 != 2 || op3 != 3.

  Source code is

         if (op3 != 2 || op3 != 3) {

  Maybe better code

         if (op3 != 2 && op3 != 3) {

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1813460/+subscriptions



reply via email to

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