From: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1402802] Re: target-tricore/translate.c:3812: possible bad expression ?
Date: Mon, 15 Dec 2014 20:40:03 -0000 [thread overview]
Message-ID: <20141215204005.24535.43398.launchpad@wampee.canonical.com> (raw)
In-Reply-To: 20141215193129.24980.15385.malonedeb@wampee.canonical.com
** 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
next prev parent reply other threads:[~2014-12-15 20:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-15 19:31 [Qemu-devel] [Bug 1402802] [NEW] target-tricore/translate.c:3812: possible bad expression ? dcb
2014-12-15 20:32 ` [Qemu-devel] [Bug 1402802] " Bastian Koppelmann
2014-12-15 20:40 ` Bastian Koppelmann [this message]
2014-12-22 14:55 ` Bastian Koppelmann
2016-06-21 5:40 ` T. Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141215204005.24535.43398.launchpad@wampee.canonical.com \
--to=kbastian@mail.uni-paderborn.de \
--cc=1402802@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).