From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D28143858417; Wed, 18 Jan 2023 22:21:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D28143858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674080489; bh=kLU99zKwCOIfREhTa0Z8sf/V2wLDmsD+h3Bdvg85RZs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tiRiGIHFX2yZ8GDd8FXQ9xqmYGqnj2NgqDwFzcyLQVhuGBYj96IsWo/EdzIepAnsM +QD2nrUry2yeL2aqSq27vsJfyxl0/5mNzgZlkuV+/q7tR/CVNnEt7kwPeg+sNmPkRd tBz2MhXsqOATvETDknrFcja784vSzkqIGkTZJQlU= From: "amacleod at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108447] [13 Regression] glibc math/test-*-iseqsig failures Date: Wed, 18 Jan 2023 22:21:29 +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, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amacleod at redhat dot com X-Bugzilla-Status: UNCONFIRMED 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: 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=3D108447 --- Comment #6 from Andrew Macleod --- (In reply to Jakub Jelinek from comment #4) > I see fold_using_range::relation_fold_and_or > which sees relation1 VREL_LE and relation2 VREL_GE and !is_and, and becau= se > of > relation_union (relation1, relation2) =3D=3D VREL_VARYING fold it to 1. > But for floating point comparisons, LE | GE is not always true, it is tru= e if > neither operand is NAN, otherwise false. right.. we're sorting out whether these relations should be created or not,= and if so, how to then verify the result of a union/intersection before committ= ing to it. That validate_relation routine was created for a reason that we are trying to track down why we arent using it, and if this is an appropriate u= se, or if we need something else.=