From patchwork Fri Nov 16 15:47:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 151367 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp591627ljp; Fri, 16 Nov 2018 07:54:53 -0800 (PST) X-Google-Smtp-Source: AJdET5fegdadn2CjgQEYdNWlHgkWRPIRMwAq33fSDpXqq3lVMHSmDajpxAPHCf1ySEqGOywNJPsA X-Received: by 2002:a17:902:b584:: with SMTP id a4mr11284157pls.246.1542383693624; Fri, 16 Nov 2018 07:54:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542383693; cv=none; d=google.com; s=arc-20160816; b=X5H0aylL993OZM06eB+vCTkvG1bVOl/RtNF/g0wR9qcW/kFERHGmaRLPwVbW/jX4DZ M70nuhnLM6bX1CFdPlbLAv8tuRKsF8xjAcgynWErGn1XbJnpAvMEYKve8gwltwcCT7ki eMCuptEArejN9HfoLv+RIYGOrl0cL4QdVcJW8S/iI5e0OJX+EWD0GUo+fh8LH685AlOY tBBGnV27K5l9oxLhVMz6eGpbgXZ6v7eoSwsh8y+lQbm9Nzm6/SqX/Pp1fbYt4HNIhd8i z36wTo0RQG4gkPHkEp1jEWWjTDcCYHkjsCn8q/KrFc1UW+YEOc8kIAWshlv9gql6qUZX jakQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature; bh=5pGNw++6w4XkIYmngqlzQM683+H564py9s4c8+L1b6Y=; b=qAlHd923xNTAuKgHKRHk1ohGB9faC46yHkHDwYxMLjM55XX33OyGKCHWDmqlN1s7pU gZ4rDiLdmvjzOQ2rNDittlLap0cBq4AqOH4v1poB1UXJj1tlYp9hPqJCEq1/d+kSFSxd pI5UAadgVQgjDc/GWtIIXv6KJTNWWHusVzGflII9fHr/SLTn6b2HW2LIl47N7FxfyMDW SubYtyjfoNpwIKm2wc8KH/noUuBC04MnkDSyEBBOA87xkxxNZTJgy1HFPeEbGenUCdPP 9Afg32GkJJtEvBaN37z0Wtjn6vTcKWeG/70765gGBB6LFKaRQphtiQProYYQoInjdv80 EpdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=Dhk5CCDJ; spf=pass (google.com: domain of gcc-patches-return-490282-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-490282-patch=linaro.org@gcc.gnu.org" Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id l24si33463916pgj.171.2018.11.16.07.54.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 07:54:53 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-490282-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=Dhk5CCDJ; spf=pass (google.com: domain of gcc-patches-return-490282-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-490282-patch=linaro.org@gcc.gnu.org" 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:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=w4S8pL4Hu3Uqv444 DPmSacGQu+vG27mV8yg5H1uE/XvTPq2Nwil/r7pFOVbZrG0puDrDr9EgrKEKpc9p R7TPVew7G7rWteyVfMYxdB2j/sGo22lE65Qvstsb3W3v20jvie3WH7D6ooxDz/sg ZgpE2awZFv1DUYizNqRi40U6cpk= 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:in-reply-to:references :mime-version:content-type; s=default; bh=nl2T//wwiQkZjVdNuCttcq 3KkLY=; b=Dhk5CCDJqB9FB7p1bMijY3XV5c/n3t8SqQVDp6hAQiuOXg4cPoZUJe +PcTTbJCK9lb/rg8RcM1PndNqaZKOZ7MRQCtzggyw7Enm2Nec+tIcvEe4bc5bBk5 6z8Y6H2YeJ1EN7OE426FwB0kl9ItNnT7F/5xoF7KMOBY5TMEcs3UM= Received: (qmail 31359 invoked by alias); 16 Nov 2018 15:54:42 -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 31348 invoked by uid 89); 16 Nov 2018 15:54:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-27.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1010 X-HELO: mx07-00178001.pphosted.com Received: from mx08-00178001.pphosted.com (HELO mx07-00178001.pphosted.com) (91.207.212.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 Nov 2018 15:54:40 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id wAGFiO41030543; Fri, 16 Nov 2018 16:54:38 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2nsxqxrpxm-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Nov 2018 16:54:38 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D610134; Fri, 16 Nov 2018 15:54:37 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C10435020; Fri, 16 Nov 2018 15:54:37 +0000 (GMT) Received: from gnb.st.com (10.75.127.45) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 16 Nov 2018 16:54:37 +0100 From: Christophe Lyon To: CC: Subject: [ARM/FDPIC v4 19/20] [ARM][testsuite] FDPIC: Adjust pr43698.c to avoid clash with uclibc. Date: Fri, 16 Nov 2018 16:47:47 +0100 Message-ID: <20181116154808.25154-20-christophe.lyon@st.com> In-Reply-To: <20181116154808.25154-1-christophe.lyon@st.com> References: <20181116154808.25154-1-christophe.lyon@st.com> MIME-Version: 1.0 X-IsSubscribed: yes uclibc defines bswap_32, so use a different name in this test. 2018-XX-XX Christophe Lyon gcc/testsuite/ * gcc.target/arm/pr43698.c (bswap_32): Rename as my_bswap_32. Change-Id: I2591bd911030814331cabf97ee5cf6cf8124b4f3 -- 2.6.3 diff --git a/gcc/testsuite/gcc.target/arm/pr43698.c b/gcc/testsuite/gcc.target/arm/pr43698.c index 1fc497c..3b5dad0 100644 --- a/gcc/testsuite/gcc.target/arm/pr43698.c +++ b/gcc/testsuite/gcc.target/arm/pr43698.c @@ -6,7 +6,7 @@ char do_reverse_endian = 0; -# define bswap_32(x) \ +# define my_bswap_32(x) \ ((((x) & 0xff000000) >> 24) | \ (((x) & 0x00ff0000) >> 8) | \ (((x) & 0x0000ff00) << 8) | \ @@ -16,7 +16,7 @@ char do_reverse_endian = 0; (__extension__ ({ \ uint64_t __res; \ if (!do_reverse_endian) { __res = (X); \ - } else if (sizeof(X) == 4) { __res = bswap_32((X)); \ + } else if (sizeof(X) == 4) { __res = my_bswap_32((X)); \ } \ __res; \ }))