From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7B5463857402; Wed, 2 Nov 2022 19:30:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B5463857402 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667417444; bh=0/J5gVzjlstgdu6c4KErjrO/5lOSDYQ6akdHv7n/6wk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MpOzNGVtr47xc4sF2OSyK6abmEJp14eYas6Kec6Sozg2ccc+0puM0bc34dbl0WjB5 KYP+GRKp0vwa0H71XQ/sclgrjIzzLstmj3LuDhKkOP8mIRgjcqObOpt+pE6d/Ro8mW kl5eMGDZMWUs6HyrEJFzryDbSAz1JzULnP3syLUY= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107510] gcc/config/gcn/gcn.cc:4930:9: style: Same expression on both sides of '||'. [duplicateExpression] Date: Wed, 02 Nov 2022 19:30: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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cf_gcctarget cf_reconfirmed_on bug_status everconfirmed 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=3D107510 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Target|gcn |amdgcn-*-* Last reconfirmed| |2022-11-02 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- Confirmed. It just looks like a copy and pasto and not really causing any issues: bool use_moves =3D (((unspec =3D=3D UNSPEC_SMIN_DPP_SHR || unspec =3D=3D UNSPEC_SMIN_DPP_SHR || unspec =3D=3D UNSPEC_SMAX_DPP_SHR || unspec =3D=3D UNSPEC_UMIN_DPP_SHR || unspec =3D=3D UNSPEC_UMAX_DPP_SHR) && (scalar_mode =3D=3D DImode || scalar_mode =3D=3D DFmode)) || (unspec =3D=3D UNSPEC_PLUS_DPP_SHR && scalar_mode =3D=3D DFmode)); rtx_code code =3D (unspec =3D=3D UNSPEC_SMIN_DPP_SHR ? SMIN : unspec =3D=3D UNSPEC_SMIN_DPP_SHR ? SMIN : unspec =3D=3D UNSPEC_SMAX_DPP_SHR ? SMAX : unspec =3D=3D UNSPEC_UMIN_DPP_SHR ? UMIN : unspec =3D=3D UNSPEC_UMAX_DPP_SHR ? UMAX : unspec =3D=3D UNSPEC_PLUS_DPP_SHR ? PLUS : UNKNOWN); bool use_extends =3D ((unspec =3D=3D UNSPEC_SMIN_DPP_SHR || unspec =3D=3D UNSPEC_SMAX_DPP_SHR || unspec =3D=3D UNSPEC_UMIN_DPP_SHR || unspec =3D=3D UNSPEC_UMAX_DPP_SHR) && (scalar_mode =3D=3D QImode || scalar_mode =3D=3D HImode)); It was added afterwards too: r13-3574-gf539029c1ce6fb=