From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B7E60385841D; Mon, 24 Oct 2022 18:49:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7E60385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666637386; bh=wrDs/JgtbEFB5QsrFCeoUB1b4LHKGCs9Hzv/BLNyKpI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=v1YrWxeT1ds1BzUv8mY3uStsO0Go1XUSa+pbcQOgatx2DPCOvsnM0WM/hy+e7tamS 7O74b5//HLdaOMAu1Aloxw5jSmVugzqdc6Bhbxe00xXR17CzlKmW8G21PKGHx2aQNz kgrZvxwsBTnMEDN791in1oEdb2NROfqwsm2ufsYI= From: "aurelien at aurel32 dot net" To: glibc-bugs@sourceware.org Subject: [Bug math/29488] test-ibm128-llround fails on ppc64el when built with gcc-12 and -O2 or higher Date: Mon, 24 Oct 2022 18:49:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.37 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aurelien at aurel32 dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution version bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29488 Aurelien Jarno changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Version|2.36 |2.37 Status|UNCONFIRMED |RESOLVED CC| |aurelien at aurel32 dot net --- Comment #6 from Aurelien Jarno --- Fixed in 2.37 by the following commit: commit 2b5478569e72ee4820a6e163d306690c9c0eaf5e Author: Aurelien Jarno Date: Mon Oct 10 00:39:33 2022 +0200 Avoid undefined behaviour in ibm128 implementation of llroundl (BZ #294= 88) Detecting an overflow edge case depended on signed overflow of a long long. Replace the additions and the overflow checks by __builtin_add_overflow(). Reviewed-by: Tulio Magno Quites Machado Filho --=20 You are receiving this mail because: You are on the CC list for the bug.=