From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 453093858C60; Tue, 18 Jul 2023 21:37:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 453093858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689716245; bh=mOr+xMhXce03sYtxQ/YtMsBdL1PYW245ZGXdOiyWSeY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wDbANhrum9NElmsR4gnMi+2UTsImwQZV4gUWM2S69Ws8nRDd9hHr7lL/qp1z6Xta1 RSTQaz9cn1InH3dpatL71N2JnSwrNAHwguZFWPHB9qrBslfWiQYTzm434OZho/fKtH cI6G6TPARmeIjUelk3Y78pYcVISEq1LiquMICz2Y= From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/110726] [14 Regression] wrong code on llvm-16 around 'a |= a == 0' Date: Tue, 18 Jul 2023 21:37:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D110726 --- Comment #7 from Sergei Trofimovich --- Silly question: I would expect -O0 not to perform any simplifications like that. Does `gcc` have a knob to disable `match.pd` templates? Or some of t= hem are crucial for correctness?=