[Qemu-devel] [Bug 1402802] Re: target-tricore/translate.c:3812: possible bad expression ?

2016-06-20 Thread T. Huth
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=7f13420ec000ad7644b65e

** Changed in: qemu
   Status: Fix Committed => Fix Released

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

Title:
  target-tricore/translate.c:3812: possible bad expression ?

Status in QEMU:
  Fix Released

Bug description:
  
  From a run of cppcheck, a static analysis checker, over the
  source code of qemu trunk, dated 20141215, is the new error:

  [qemu/target-tricore/translate.c:3812]: (style) Expression '(X & 0x3f)
  == 0x6f' is always false.

  Source code is

  if (unlikely((op1 & 0x3f) == OPCM_32_BRN_JTT)) {

  Suggest code rework.

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



[Qemu-devel] [Bug 1402802] Re: target-tricore/translate.c:3812: possible bad expression ?

2014-12-22 Thread Bastian Koppelmann
** Changed in: qemu
   Status: Confirmed => Fix Committed

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

Title:
  target-tricore/translate.c:3812: possible bad expression ?

Status in QEMU:
  Fix Committed

Bug description:
  
  From a run of cppcheck, a static analysis checker, over the
  source code of qemu trunk, dated 20141215, is the new error:

  [qemu/target-tricore/translate.c:3812]: (style) Expression '(X & 0x3f)
  == 0x6f' is always false.

  Source code is

  if (unlikely((op1 & 0x3f) == OPCM_32_BRN_JTT)) {

  Suggest code rework.

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



[Qemu-devel] [Bug 1402802] Re: target-tricore/translate.c:3812: possible bad expression ?

2014-12-15 Thread Bastian Koppelmann
** Changed in: qemu
   Status: New => Confirmed

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

Title:
  target-tricore/translate.c:3812: possible bad expression ?

Status in QEMU:
  Confirmed

Bug description:
  
  From a run of cppcheck, a static analysis checker, over the
  source code of qemu trunk, dated 20141215, is the new error:

  [qemu/target-tricore/translate.c:3812]: (style) Expression '(X & 0x3f)
  == 0x6f' is always false.

  Source code is

  if (unlikely((op1 & 0x3f) == OPCM_32_BRN_JTT)) {

  Suggest code rework.

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



[Qemu-devel] [Bug 1402802] Re: target-tricore/translate.c:3812: possible bad expression ?

2014-12-15 Thread Bastian Koppelmann
Absolutly correct. The mask should be 0x7f. I will fix that asap.

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

Title:
  target-tricore/translate.c:3812: possible bad expression ?

Status in QEMU:
  Confirmed

Bug description:
  
  From a run of cppcheck, a static analysis checker, over the
  source code of qemu trunk, dated 20141215, is the new error:

  [qemu/target-tricore/translate.c:3812]: (style) Expression '(X & 0x3f)
  == 0x6f' is always false.

  Source code is

  if (unlikely((op1 & 0x3f) == OPCM_32_BRN_JTT)) {

  Suggest code rework.

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