From patchwork Mon Mar 17 12:23:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 26355 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f71.google.com (mail-pb0-f71.google.com [209.85.160.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4EEAE202FA for ; Mon, 17 Mar 2014 12:25:08 +0000 (UTC) Received: by mail-pb0-f71.google.com with SMTP id up15sf14103216pbc.10 for ; Mon, 17 Mar 2014 05:25:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:mailing-list :precedence:list-id:list-unsubscribe:list-subscribe:list-archive :list-post:list-help:sender:delivered-to:from:to:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results; bh=cVNL67h3fptcvI3Sd5o/0jd88odyFFLxhCZZMgZ/S58=; b=JwaV5a7eLDWfqiWx6Q4Oh5ziIlqcxL+XmEuNVKFGK5mRYMPzljL6gMmLfLwKtSssZs REDrmoIzmEbrmgnWbcBDXjG6OWErmJUxaw0ifvLTF+gj9Lb7ZKNcYEq7NRxKseK29Oeb 2G3OWXEepogKBZ9E0xNAv2VtCkkPZskIHuX9dGwv1cMkAnnKTVvniiBUva4x93nqTYf4 N+wFkeDPR6gGQNzQ7bDFv2qfSPwh6BWuaIWeFgLx7vYwwy4uQYL5ZSZxLutmMd6+5+SM bYVQexXSlzC1GdNTfIuhb8zPIiptW9kGrrptZpZO5ij+oDclSjnOaNABr+eqArg+uWV/ L5xg== X-Gm-Message-State: ALoCoQkKXN18vEH9BXQCeSFJ8DgjchrhhXxxrqNCw4En+68KVczMzVbremX+KeIpIhGIcizscSYk X-Received: by 10.66.145.105 with SMTP id st9mr10016121pab.23.1395059107551; Mon, 17 Mar 2014 05:25:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.47 with SMTP id s44ls1626131qgs.70.gmail; Mon, 17 Mar 2014 05:25:07 -0700 (PDT) X-Received: by 10.58.57.67 with SMTP id g3mr19477769veq.3.1395059107443; Mon, 17 Mar 2014 05:25:07 -0700 (PDT) Received: from mail-ve0-x22d.google.com (mail-ve0-x22d.google.com [2607:f8b0:400c:c01::22d]) by mx.google.com with ESMTPS id u10si2762602vef.93.2014.03.17.05.25.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Mar 2014 05:25:07 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::22d; Received: by mail-ve0-f173.google.com with SMTP id oy12so5547680veb.18 for ; Mon, 17 Mar 2014 05:25:07 -0700 (PDT) X-Received: by 10.52.78.231 with SMTP id e7mr2443469vdx.28.1395059107142; Mon, 17 Mar 2014 05:25:07 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp123223vck; Mon, 17 Mar 2014 05:25:06 -0700 (PDT) X-Received: by 10.68.252.165 with SMTP id zt5mr25585910pbc.17.1395059105892; Mon, 17 Mar 2014 05:25:05 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id mp8si14270976pbc.322.2014.03.17.05.25.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Mar 2014 05:25:05 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-48215-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 19455 invoked by alias); 17 Mar 2014 12:23:44 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 19373 invoked by uid 89); 17 Mar 2014 12:23:43 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f48.google.com X-Received: by 10.180.92.196 with SMTP id co4mr9244298wib.50.1395059017032; Mon, 17 Mar 2014 05:23:37 -0700 (PDT) From: Will Newton To: libc-alpha@sourceware.org Subject: [PATCH 7/7] Fix HAVE_RM_CTX -Wundef warnings Date: Mon, 17 Mar 2014 12:23:24 +0000 Message-Id: <1395059004-20960-7-git-send-email-will.newton@linaro.org> In-Reply-To: <1395059004-20960-1-git-send-email-will.newton@linaro.org> References: <1395059004-20960-1-git-send-email-will.newton@linaro.org> X-Original-Sender: will.newton@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 ChangeLog: 2014-03-17 Will Newton * sysdeps/generic/math_private.h: Check whether HAVE_RM_CTX is defined with #ifdef rather than #if. --- sysdeps/generic/math_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h index 9b881a3..0ac70e3b 100644 --- a/sysdeps/generic/math_private.h +++ b/sysdeps/generic/math_private.h @@ -551,7 +551,7 @@ default_libc_feupdateenv_test (fenv_t *e, int ex) # define libc_feresetround_noexl libc_fesetenvl #endif -#if HAVE_RM_CTX +#ifdef HAVE_RM_CTX /* Set/Restore Rounding Modes only when necessary. If defined, these functions set/restore floating point state only if the state needed within the lexical block is different from the current state. This saves a lot of time when