From patchwork Fri Jan 9 06:38:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 426915 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 B5C26140129 for ; Fri, 9 Jan 2015 17:39:17 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=Z5haFWlK7Op5 mfOxEP2gQtjdHf2zocAbwlwGvyWYHowxSf77r1n/4T5fEK6tYfa9Krg/tQwU+NNY 460y9V0P9Kx+iLAfNYcsR9iasvLxajiU6EdHpD9GyZ1iDx3THfVtgEhS5p78NYfT JB2dRIhx5FqYOxSBlMikob8+ctnEQv8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; s=default; bh=/TlKHBErY/u4dSFeZD aTNXdkvms=; b=ggNFgulhxsituo+lglXqLPrjVFKDei+kRpmDR9sfan/zkzvCK7 NL/sh6f0gwqdk/AKagg1USjkuz1u8a7a4EeZBw0Tb61lMXlC/ZtRXNSJ1uE7btbO BombcqbGAkEFbR/Kl8FhhBLY7p1DwueHmOWFdYHxPH3B3Qtx8Wmk9BCV4= Received: (qmail 27726 invoked by alias); 9 Jan 2015 06:39:08 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 27652 invoked by uid 89); 9 Jan 2015 06:39:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: gcc1-power7.osuosl.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 09 Jan 2015 06:39:06 +0000 Received: from gcc1-power7.osuosl.org (localhost [127.0.0.1]) by gcc1-power7.osuosl.org (8.14.6/8.14.6) with ESMTP id t096d4gB011746; Thu, 8 Jan 2015 22:39:04 -0800 Received: (from segher@localhost) by gcc1-power7.osuosl.org (8.14.6/8.14.6/Submit) id t096d1Uq011234; Thu, 8 Jan 2015 22:39:01 -0800 From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, Segher Boessenkool Subject: [PATCH] rs6000: Fix recip tests for -m32 -mpowerpc64 Date: Thu, 8 Jan 2015 22:38:59 -0800 Message-Id: <0cac45210f8f9a2e5ccb413d2afb644e5c51449a.1420785330.git.segher@kernel.crashing.org> X-IsSubscribed: yes This fixes gcc.target/powerpc/recip-[67].c with -m32 -mpowerpc64. Tested etc.; okay for mainline? Segher 2015-01-08 Segher Boessenkool gcc/testsuite/ * gcc.target/powerpc/recip-test.h (_ARCH_PPC64): Use __LP64__ instead. --- gcc/testsuite/gcc.target/powerpc/recip-test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/powerpc/recip-test.h b/gcc/testsuite/gcc.target/powerpc/recip-test.h index 7a42df5..0c60671 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-test.h +++ b/gcc/testsuite/gcc.target/powerpc/recip-test.h @@ -1,6 +1,6 @@ /* Check reciprocal estimate functions for accuracy. */ -#ifdef _ARCH_PPC64 +#ifdef __LP64__ typedef unsigned long uns64_t; #define UNUM64(x) x ## L