From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 20CBB3858C50; Tue, 28 Mar 2023 13:44:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 20CBB3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680011066; bh=3awq6MfypEWe17pc8IWC2A+qqMDXs2pwzQjQvfodoI4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=shZxb9nnwlpAdhGhhNAhMoK6jk2fwQcgIOMjiVx4eKXytomgtNWcptKtn1dMfP4pA JpjN0DnieFLnywWe/UPJG5ArEcto6GBnt4XB+m6oR0gTHKo1YgjfWmsjTuAi3Cbic6 0QBAoyEXGmcPzYRdo9389SzYsAEyTF2h1GLUol3c= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109154] [13 regression] jump threading de-optimizes nested floating point comparisons Date: Tue, 28 Mar 2023 13:44:25 +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: jakub at gcc dot gnu.org 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: 13.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=3D109154 --- Comment #30 from Jakub Jelinek --- But at least the zone1_100 stuff is unused in #c26, so improving #c28 there wouldn't help. distbb_99 =3D distij_98 - radij_82; _27 =3D distbb_99 < 0.0; # RANGE [irange] const int [0, 1] NONZERO 0x1 zone1_100 =3D (const int) _27; if (distbb_99 < 0.0) _27 is only used by the dead zone1_100. So, we have 2 different testcases now for 2 different issues.=