From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 322E0384AB48; Thu, 11 Apr 2024 09:00:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 322E0384AB48 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712826049; bh=WI+aA/0MpEdW7Kw03jjpp5s0iHmmWfoYyG8I3ert48E=; h=From:To:Subject:Date:From; b=qx6haY+JvdizpaPkgcrvIy1lqPIDBYDyhbkXP3lVrUSbpLFM1fU6zELnW+MXaWyvh T9m5RRJSbiPBpWiEp8YOXcgu/7+YmR/MgVr5T1q4ceyeLBHePMXbQ8JzmzMdDveP1Z svQPfYc8V9sS7sYz3IZofLG6xcCjgosMBkSH1yaI= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/114689] New: [14 Regression] libgcc/config/m68k/fpgnulib.c:305: Suspicious coding ? Date: Thu, 11 Apr 2024 09:00:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 14.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D114689 Bug ID: 114689 Summary: [14 Regression] libgcc/config/m68k/fpgnulib.c:305: Suspicious coding ? Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Static analyser cppcheck says: libgcc/config/m68k/fpgnulib.c:305:37: style: Boolean result is used in bitw= ise operation. Clarify expression with parentheses. [clarifyCondition] Source code is mant =3D mant >> 1 | (mant & 1) | !!sticky; Perhaps mant =3D (mant >> 1) | (mant & 1) | !!sticky; was intended.=20 This problem doesn't exist in the source code of gcc-13.2=