From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 197913857010; Mon, 12 Sep 2022 11:16:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 197913857010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662981405; bh=blw9IffXvw3HXlfJz0RPG4Ql8SzGoZXU84i9pTafjJY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vh3EY/JnQtIirIOM46KgENrRYr1J4b0kl3rgMK8FvVwd5IhcKuHWHjC89VK82dl6z pgM33ohHhUEYH7f7iD2O4MgA6AeT2+YoSkOrlvBFRnxAKql1nhrC0ZAuG9YjiEum3C g+FhPBIR2FE00nQM5nhkScWqXtklpKgCDl+60SEk= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106907] gcc/config/rs6000/rs6000.cc:23155: strange expression ? Date: Mon, 12 Sep 2022 11:16:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106907 --- Comment #2 from David Binderman --- In the same file rs6000.cc, cppcheck produces: gcc/config/rs6000/rs6000.cc:28477:8: style: Same expression on both sides of '&&'. [duplicateExpression] Source code is info->all_words_same =3D (info->words[0] =3D=3D info->words[1] && info->words[0] =3D=3D info->words[1] && info->words[0] =3D=3D info->words[2] && info->words[0] =3D=3D info->words[3]);=