From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E5573385483E; Tue, 7 Mar 2023 14:10:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E5573385483E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678198214; bh=6XMR/XlR6PtI2dmAxm+9teVTAVn0MLSHTTuiXV8RwEM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QPQzVoFHGztBvE41waaz5U4h5AoZOIpZh2v6wEgDvtL7PyJeJZyRZAHJXQ1p1saMf wPgWC5t3JJZSkYPrQGut5ScQpLRFJ3YZAUAs00b2jdm4k+85voBVI/TXg438pqja5H QR42oPncboU/VX2mD9em/qKJkTzGmf3M/YdMUfHU= From: "rguenth 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: Tue, 07 Mar 2023 14:10:14 +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: rguenth 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: 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 --- Comment #22 from Richard Biener --- New real.h API could be extern void real_unround (REAL_VALUE_TYPE *, format_helper, int dir); where for dir < 0 it produces the least significant bits so that rounding produces the original while for dir > 0 it produces the most significant bits so that rounding produces the original.=