From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E5C2A3858D37; Mon, 10 Oct 2022 18:32:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E5C2A3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665426779; bh=OkNnUfE0sXAGtTNQ2MCT5d3B/yisHezR6RtadkBvztY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qH4pzd3dc4ESjsXOKF18zmmySwCGPfOnDxfD6cZ3KLkkI0hWcrxSwvxs/BLnGD7Wg DPKH0hd6PpVMdLMRbE8J6I7tDNe+kio6caumCzKAzyRFLO2wIV+YUVLj1sjpr0SUx2 s9kymM45lpeXOEONdA/2fOQ+DiNMrX7EmXJz1xgc= From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e Date: Mon, 10 Oct 2022 18:32:50 +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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D107172 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #7 from Segher Boessenkool --- Please show the (relevant part of) output of -fdump-rtl-combine-all ? At l= east those parts where it decided (ltu:SI (const_int 1) (const_int 0)) is valid = (it isn't) and where optimising that to (const_int 0) is valid (it isn't).=