From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0cWX-0004TC-17 for qemu-devel@nongnu.org; Mon, 15 Dec 2014 15:45:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0cWP-0006QO-FF for qemu-devel@nongnu.org; Mon, 15 Dec 2014 15:45:44 -0500 Received: from indium.canonical.com ([91.189.90.7]:37589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0cWP-0006QJ-9O for qemu-devel@nongnu.org; Mon, 15 Dec 2014 15:45:37 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1Y0cWO-00055h-On for ; Mon, 15 Dec 2014 20:45:36 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id A2A732E80C1 for ; Mon, 15 Dec 2014 20:45:36 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 15 Dec 2014 20:40:03 -0000 From: Bastian Koppelmann Sender: bounces@canonical.com References: <20141215193129.24980.15385.malonedeb@wampee.canonical.com> Message-Id: <20141215204005.24535.43398.launchpad@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1402802] Re: target-tricore/translate.c:3812: possible bad expression ? Reply-To: Bug 1402802 <1402802@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Changed in: qemu Status: New =3D> 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) =3D=3D 0x6f' is always false. Source code is if (unlikely((op1 & 0x3f) =3D=3D OPCM_32_BRN_JTT)) { Suggest code rework. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1402802/+subscriptions