From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 04BDD3857C58; Thu, 22 Sep 2022 06:53:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04BDD3857C58 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663829598; bh=+05Ch+fOoc4qe+v7Y/sw08P/EPUj4Ci9SH3LCrArPtI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Cs+E/OGe8nrYU2gYl441njiummQxBp95sM4yDWcYMh/PZC06ZPWACaBQNQv/elmXh B/2w7L16xVtikLAGX5hjh6Nia5HpTsi/r/6ROQjI0Fe3+wdTqYevF4NNtpUUFZXLQI 8Uk6IMcuI5lVPlpiRVdGoboSOxDbK3UHMLP/YQ74= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107005] gcc not exploiting undefined behavior to optimize away the result of division Date: Thu, 22 Sep 2022 06:53:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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: resolution keywords bug_status 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=3D107005 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Keywords| |missed-optimization Status|UNCONFIRMED |RESOLVED --- Comment #3 from Richard Biener --- I wonder what's the point of the clang result? I'd say it's quite bad QOI. So I think there's nothing to fix here.=