From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 966793853D1E; Thu, 20 Jul 2023 17:02:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 966793853D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689872529; bh=lJFoEdisn8bYJhFJyuQhJjXJ5c/X++Bq9ISe9Lswgzw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XGN6pzgcJ7KGO8kEz1E18I5dMbG8sD9kD1EKD1LgZ/hqlxTr9Q6HOaPvXiurzwI62 ExpFZoP9lxu64iknDpPZXS9gn6mbFbQ64N5h/C+SSQNk4jL/upuY3EYxNhoaF+GkWj x7z59f2Q6pp6pSsyZw2e2H6E5bMfMbE4ZXK/mBtg= From: "gsmecher at threespeedlogic dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/44949] extend Wparentheses from & to &= Date: Thu, 20 Jul 2023 17:02:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: gsmecher at threespeedlogic dot com 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: cc 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=3D44949 Graeme Smecher changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gsmecher at threespeedlogi= c dot co | |m --- Comment #3 from Graeme Smecher --- Another instance of this bug in the wild, and some encouragement to fix it: if(a /=3D b) {} // whoops - no warning, but highly suspicious The "/=3D" corresponds to the inequality operators in several other languag= es (at least: ADA, VHDL, Erlang, Fortran). It's a fairly easy typo to make when switching between them and can be hard to spot when under-caffeinated.=