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: 333176 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 ozlabs.org (Postfix) with ESMTPS id 22D8B14008D for ; Tue, 25 Mar 2014 09:01:32 +1100 (EST) 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=FwceisMpWszTMoHH6j7AGYx0JBEO1 WE1QVGagAJA7YKpM4CKId0KrX6ebKJktkXLj690dLSBr6BQUqoo1w91M+SAAbaGd A22LnQXkJblfs6xiQCTbuypK5+1i9GGGnpEkbwMCdK2aZt+3CAeYAQFYwt0hcpGw Ra9cKiYEKNGVS0= 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=tS9 S6WkMSsbe47ZBIJZng0fJBRQfCehfD4wwFJwYtTWfpMSszM9RLQ5yM0HQsBId+Bx uQrZueetxnE1EK/7KNTu/h/IMT5I7ZTpT9fbZBhz5pTZkgnT35MwnTCA43DHwqmw 3zNz3y8AYD5Im/j3D2Zr8c1wcRhySR2Z/vlbYl7c= 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 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);