From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C5A5038582B0; Wed, 8 Mar 2023 11:29:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5A5038582B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678274974; bh=hUh9Gp//sRy/wJr7AJTcYqVVLgalHNUu4AKHb3++ztU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yfUSFlA6vsIPySm0bQTl6Ojeewz0PebHgZ0ROyNmaTh+7aEH+I7yCr/TlEUwsGZhp kdQEkiH/5kUffMsF3HCobeBBbrMkI5R4exGos/ZasrCWuyxThhTsVf59KviMcAHl7p xsWE1gabJOcUegBlA0FwZG7qaEgMypk/r9feB5fY= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109008] [13 Regression] Wrong code in scipy package since r13-3926-gd4c2f1d376da6f Date: Wed, 08 Mar 2023 11:29:34 +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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: attachments.isobsolete attachments.created 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=3D109008 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #54602|0 |1 is obsolete| | --- Comment #30 from Jakub Jelinek --- Created attachment 54605 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54605&action=3Dedit gcc13-pr109008-wip.patch Fixed iterative patch (just for archival purposes only). Note, even this one isn't exact, because of the way the tests conservatively try to round inexact operations (normally in a way to make the range slight= ly larger, in this case the tests for e.g. low bound the normal operation towa= rds +inf), for f1 above with this patch one gets [frange] double [-1.11022302462515641716411522730772571691741167456465161356e-16 (-0x0.fffffffffffff8p-53), 2.22044604925031283432823045461545143383482334912930322712e-16 (0x0.fffffffffffff8p-52)] instead of [-0x0.8p-53, 0x0.8p-52] which is the minimal range.=