From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E49A039724AB; Sat, 16 May 2020 16:44:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E49A039724AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589647498; bh=gX4k/0wC9bqP+1y9bBvPRGH5rnQo17K4sZVM7dWFpZU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PP3AqAR1wUIUfHCEBm1UwLxvky3IHyS6ZVeScmGckLB/9gNgHQJc3HngsdIjeJ7QX noZAIXoOa/YSLKQuD+yXd5BPNYGhy+Invr6doT5tCbx2/6GqRiBIcxcELIolXqiSJK t/VjVx+ROjiksehniF5RyaLbJ4Co7Gec49C0g/s0= From: "simon.marchi at polymtl dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/95157] Missing -Wtautological-compare warning Date: Sat, 16 May 2020 16:44:58 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon.marchi at polymtl dot ca 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2020 16:44:59 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95157 --- Comment #2 from Simon Marchi --- Ah, good point! So yeah, please consider the test case without `volatile`.=