From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33526 invoked by alias); 20 Jun 2018 14:23:33 -0000 Mailing-List: contact libc-stable-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: List-Archive: Sender: libc-stable-owner@sourceware.org Received: (qmail 33509 invoked by uid 89); 20 Jun 2018 14:23:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.4 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=23259 X-Spam-Status: No, score=-24.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mo19.mail-out.ovh.net Received: from mo19.mail-out.ovh.net (HELO mo19.mail-out.ovh.net) (178.32.228.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Jun 2018 14:23:31 +0000 Received: from EX1.emp.local (gw1.pro1.mail.ovh.net [79.137.0.65]) by mo19.mail-out.ovh.net (Postfix) with ESMTPS id 213D84FD75 for ; Wed, 20 Jun 2018 16:23:29 +0200 (CEST) Received: from EX4.emp.local (172.16.2.4) by EX1.emp.local (172.16.2.1) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Wed, 20 Jun 2018 16:23:28 +0200 Received: from localhost (32.104.18.203) by EX4.emp.local (172.16.2.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1415.2; Wed, 20 Jun 2018 15:23:27 +0100 From: "Gabriel F. T. Gomes" To: Subject: [2.27 COMMITTED] Fix parameter type in C++ version of iseqsig (bug 23171) Date: Mon, 01 Jan 2018 00:00:00 -0000 Message-ID: <20180620142324.28039-1-gabriel@inconstante.eti.br> X-Mailer: git-send-email 2.14.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [32.104.18.203] X-ClientProxiedBy: EX1.emp.local (172.16.2.1) To EX4.emp.local (172.16.2.4) X-Ovh-Tracer-Id: 7161004885762756280 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtiedrtddvgdeikecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecu X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00006.txt.bz2 The commit commit c85e54ac6cef0faed7b7ffc722f52523dec59bf5 Author: Gabriel F. T. Gomes Date: Fri Nov 3 10:44:36 2017 -0200 Provide a C++ version of iseqsig (bug 22377) mistakenly used double parameters in the long double version of iseqsig, thus causing spurious conversions to double, as reported on bug 23171. Tested for powerpc64le and x86_64. (cherry picked from commit fb0e10b8eb1ebb68c57d4551f7a95118f3c54837) --- ChangeLog | 6 ++++++ NEWS | 1 + math/math.h | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 88e9e7ae1e..6fba508ae1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-05-24 Gabriel F. T. Gomes + + [BZ #23171] + * math/math.h [C++] (iseqsig): Fix parameter type for the long + double version. + 2018-06-12 Carlos O'Donell Andreas Schwab Dmitry V. Levin diff --git a/NEWS b/NEWS index c7e2cef59b..2dab66e851 100644 --- a/NEWS +++ b/NEWS @@ -75,6 +75,7 @@ The following bugs are resolved with this release: build with -Os) [23152] gd_GB: Fix typo in "May" (abbreviated) [23166] sunrpc: Remove stray exports without --enable-obsolete-rpc + [23171] Fix parameter type in C++ version of iseqsig [23196] __mempcpy_avx512_no_vzeroupper mishandles large copies [23236] Harden function pointers in _IO_str_fields [23259] Unsubstituted ${ORIGIN} remains in DT_NEEDED for AT_SECURE diff --git a/math/math.h b/math/math.h index 3c515f817f..0fcbd91366 100644 --- a/math/math.h +++ b/math/math.h @@ -1223,7 +1223,7 @@ template<> struct __iseqsig_type template<> struct __iseqsig_type { - static int __call (double __x, double __y) throw () + static int __call (long double __x, long double __y) throw () { # ifndef __NO_LONG_DOUBLE_MATH return __iseqsigl (__x, __y); -- 2.14.4