From patchwork Thu Apr 7 01:35:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 65224 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp193433lbc; Wed, 6 Apr 2016 18:36:02 -0700 (PDT) X-Received: by 10.98.12.153 with SMTP id 25mr680015pfm.27.1459992962507; Wed, 06 Apr 2016 18:36:02 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id q62si7961767pfi.214.2016.04.06.18.36.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Apr 2016 18:36:02 -0700 (PDT) Received-SPF: pass (google.com: domain of newlib-return-13458-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org; spf=pass (google.com: domain of newlib-return-13458-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-13458-patch=linaro.org@sourceware.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=gWP5wkO3JaTRP6NmHMpEohmV4cNjbtL fD+ZJz2BXc4C1X2fgnryviqL/TnutNyxaP2iQyPLaAg8df1nK8H8HIlRjcSaLGxg Tkop5MUXxikkMHn4bK5PMETzNA1MOatMX2pU8kYCFYhJ7nFEzFQTGl7uGyC/2Pib KjzJS3acZz2c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=AGGrbv5czG6N2Q7xbOBNF2lVxqI=; b=ov1eA AZVyM3lTVKfHUi5P3uGhbE80L7mcxnlmtIHpwg07h53zhPBU6batPGeOnl68p8aT ywy6KkaDLBgy6S2BTEzjhKEsZjSQbpolBfQq010bMrNKxgDP1Kecd3QR22IBgcfY MnBPkugnSxkqSAASBhQ8eyVHDLKq5BbgPElKQA= Received: (qmail 53113 invoked by alias); 7 Apr 2016 01:35:52 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 53095 invoked by uid 89); 7 Apr 2016 01:35:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:791 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 07 Apr 2016 01:35:50 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BFC1C85547 for ; Thu, 7 Apr 2016 01:35:49 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-26.rdu2.redhat.com [10.10.116.26]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u371ZmQ6012298 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NO) for ; Wed, 6 Apr 2016 21:35:49 -0400 From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH] math: fix isinf/isnan on SPU after move to math.h Date: Wed, 6 Apr 2016 20:35:34 -0500 Message-Id: <1459992934-944-1-git-send-email-yselkowi@redhat.com> In-Reply-To: <570516D7.80907@redhat.com> References: <570516D7.80907@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libm/common/s_isinf.c | 2 ++ newlib/libm/common/s_isnan.c | 2 ++ 2 files changed, 4 insertions(+) -- 2.8.0 diff --git a/newlib/libm/common/s_isinf.c b/newlib/libm/common/s_isinf.c index f22acb7..fe18e2a 100644 --- a/newlib/libm/common/s_isinf.c +++ b/newlib/libm/common/s_isinf.c @@ -13,6 +13,8 @@ #ifndef _DOUBLE_IS_32BITS +#undef isinf + int _DEFUN (isinf, (x), double x) diff --git a/newlib/libm/common/s_isnan.c b/newlib/libm/common/s_isnan.c index 64deacd..bc0a916 100644 --- a/newlib/libm/common/s_isnan.c +++ b/newlib/libm/common/s_isnan.c @@ -190,6 +190,8 @@ QUICKREF #ifndef _DOUBLE_IS_32BITS +#undef isnan + #ifdef __STDC__ int isnan(double x) #else