From patchwork Mon Mar 24 22:01:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 254 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx22.g.dreamhost.com (caibbdcaabij.dreamhost.com [208.113.200.189]) by wilcox.dreamhost.com (Postfix) with ESMTP id B54C336016A for ; Mon, 24 Mar 2014 15:01:35 -0700 (PDT) Received: by homiemail-mx22.g.dreamhost.com (Postfix, from userid 14307373) id 502FE5078524; Mon, 24 Mar 2014 15:01:35 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx22.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx22.g.dreamhost.com (Postfix) with ESMTPS id 886E5508082C for ; Mon, 24 Mar 2014 15:01:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=EA80CwqHX+X8vATwNDkZiUC3cYSZN auI8nkTbOKPQvC4GZEZaIKFTWR16xasR4Q5G82/nPZqv45UTDpd2EUzs91nuDTWl SloIPEKCnAOYYh1+DfiDZSVkYJ1nO8J/i4H083uccWEdKdF7IYT5OUdxVAnimF1p RYuvNZWuv6qUIM= 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:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=JjO41KV7GVq6bvRAQelsSya9CXk=; b=paK 0Kg30dl0ZQrBtOWUyU3fawA/q7lizRCsf3K1FSpzWSM6k42LdlaH9sYk5Uza6BZb QDJWXVnF4KgCl/l3y5UktJB6JP+lb8tAWVuiPMy8FkIhob8/aTvcYxmu3NabClxx F9AkssTIeysB1D0uw+jmlDotlgHudHrSOl8e7rUY= Received: (qmail 9411 invoked by alias); 24 Mar 2014 22:01:27 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 9402 invoked by uid 89); 24 Mar 2014 22:01:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL, BAYES_40 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Date: Mon, 24 Mar 2014 22:01:19 +0000 From: "Joseph S. Myers" To: Subject: Fix implicit __isinf declarations in exp Message-ID: MIME-Version: 1.0 X-DH-Original-To: glibc@patchwork.siddhesh.in My recent exp patch introduced warnings about implicit __isinf declarations in exp because e_exp.c didn't include . I've applied this patch to fix this. Because can't be included after (because of macro definitions of __nan*), it was necessary to put an include in sysdeps/x86_64/fpu/multiarch/e_exp.c as well. Tested x86_64. 2014-03-24 Joseph Myers * sysdeps/ieee754/dbl-64/e_exp.c: Include . * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. diff --git a/sysdeps/ieee754/dbl-64/e_exp.c b/sysdeps/ieee754/dbl-64/e_exp.c index cd060ce..0ab078f 100644 --- a/sysdeps/ieee754/dbl-64/e_exp.c +++ b/sysdeps/ieee754/dbl-64/e_exp.c @@ -32,6 +32,7 @@ /* */ /***************************************************************************/ +#include #include "endian.h" #include "uexp.h" #include "mydefs.h" diff --git a/sysdeps/x86_64/fpu/multiarch/e_exp.c b/sysdeps/x86_64/fpu/multiarch/e_exp.c index 3c65028..d244954 100644 --- a/sysdeps/x86_64/fpu/multiarch/e_exp.c +++ b/sysdeps/x86_64/fpu/multiarch/e_exp.c @@ -1,5 +1,6 @@ #if defined HAVE_FMA4_SUPPORT || defined HAVE_AVX_SUPPORT # include +# include # include extern double __ieee754_exp_sse2 (double);