From patchwork Wed May 15 12:39:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 164294 Delivered-To: patch@linaro.org Received: by 2002:ac9:2a84:0:0:0:0:0 with SMTP id p4csp607938oca; Wed, 15 May 2019 05:46:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyeW4JCirzf2+Vo1z0P9puQM1mTa2KBp9N6ayeqYIKOZ6pLWPj1aCJf09pHqnu3pBls0N3 X-Received: by 2002:a17:902:bf07:: with SMTP id bi7mr5782681plb.248.1557924417479; Wed, 15 May 2019 05:46:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557924417; cv=none; d=google.com; s=arc-20160816; b=gJtEE4Wp5q4jnB/c8vshTsj0KTmoZOGLiFuXgWCkZAzEPa7oQMo+KvOI0EBlX9nK0T PqwABpXjWhzhUCEkLvvUpLWPKOaA96/jTAwacIcBfEiDJoHwdHiIfHW5AWtlD6CRcdXk 5Fj7B6mqQQsjVkPkGRG+kTlOzb9QI7NIxd/GyWK1xyDts5L1QPG89+gATsIiZBxTiSlj J1nA/4oafDWZl66pNq9ZXP3ma2MwVNnPuyzzxZ7LHrigy4rcS/oJCf1PmJAwIyPjYkCg 8r88KXzgzG6PoNe4AVJGgQ4Mz9R1vyrQ8nUaLuvhSUmjIDjRlh1Nf6OTEY+GCDdheNVJ dlQw== 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:to:from :dkim-signature:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature; bh=oxaeelXZQeFml/tnymVkRKytofczQ8pJgRvpT9GqFHM=; b=UzDXQutEl+0++bkruLY2P82Jtd4cRwJbBF/C8kL2aqKWsXQwsLu7ccqJYKJCO6WFNo gte9FYyW8BqW1XMmNg9P0znOeNgAIRS3HQhJayVZiQ5EP9Nz29cYkbl8P/d02Fq4O1jn 3Xag/duQmauQOIseKdIsFV0K1Io8SkcTwF9QSqCNloZQY0jcSX3+WbN7+wrz+dx2f4jO 2pu/rCnVfpWdj9lr0UQxuS7VsFvFiFzWe0lzNn1wB2jaa5SLzbOgebOGzo8cMaD55di7 mYpxG8Km3cmQVvZUPz3Ql6QcWBX/y/1rfSHHgqTLzIVsdyIhhZOBdUGICwC5NU+Vxxcq Wxuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=IJDXC8vW; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=ooibSDbD; spf=pass (google.com: domain of gcc-patches-return-500783-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-500783-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 o188si1733521pgo.489.2019.05.15.05.46.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 May 2019 05:46:57 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-500783-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=IJDXC8vW; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=ooibSDbD; spf=pass (google.com: domain of gcc-patches-return-500783-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-500783-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:subject:date:message-id:in-reply-to:references:mime-version :content-type; q=dns; s=default; b=kJQ6fYuRdRK9juNDCoJ2W3DTbocMO wxZdHYUklhhnMe5cnseVuw/dVUuUY4sOJxlC6LkJOinI+NAZMaM2dVtrFCbKV/C5 ZU/o5gWTDtKUVmnUYFwg1yp5Hw58lFokInVzZi/ObuUftk7wdNcPp6fspcka2aKv X9gZ57m2dVvCXk= 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:subject:date:message-id:in-reply-to:references:mime-version :content-type; s=default; bh=xmeIIaXITpdMmHxd18pJJC+RyoU=; b=IJD XC8vWZehKBzbo+nXtJcJblP3qJKD1zVsWdhxtWYXXF+ab/PHNLJoXoH/R1lYDVzj B3AMQqDkfjkpAIbjuQ75Y2qY1fy3lPzeiqxgPUTvvLba7d2crvvB3SQEIyx5TJHs dj6TgCUrUZFxRt/7JIIwzJ8ySWQJ9aywuYx1cLJc= Received: (qmail 106442 invoked by alias); 15 May 2019 12:46:43 -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 105936 invoked by uid 89); 15 May 2019 12:46:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.9 required=5.0 tests=AWL, 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.1 spammy= 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; Wed, 15 May 2019 12:46:41 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4FCfhOm022108 for ; Wed, 15 May 2019 14:46:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=oxaeelXZQeFml/tnymVkRKytofczQ8pJgRvpT9GqFHM=; b=ooibSDbDKnC4ynXvrXycpVEYs7bYQgQH3/pwXW8baNij7VgiJIMcywsiZkpsvBlUdJFT JBaEP7FrF8n/1k7vWGKc0njN7poZYIj7szrPn+t5SmMRwv0C5fgZKsmE/W60hk56M7nq ZOOPQIeAeXQM94YLuHjExasdxX5tJNkmwwU3QiDj9hCkok882b8dmwk/XV1/uKJ+Gv3H qtbImetEX0h2VPmE4CCSuUu4pSkBgO+IEGzgATgEtt6ZOqb61iRWqG/b5og3lgyCBveX rxxhi8V24od9O/bPNLQr3H8K5WVbrhcQ+AhJWV8npxcL9alqnPvjxUZqqNbX4nbrUtoB tA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2sek5ajs2p-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 15 May 2019 14:46:39 +0200 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 317E731 for ; Wed, 15 May 2019 12:46:39 +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 214E72769 for ; Wed, 15 May 2019 12:46:39 +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; Wed, 15 May 2019 14:46:38 +0200 From: Christophe Lyon To: Subject: [ARM/FDPIC v5 19/21] [ARM][testsuite] FDPIC: Adjust pr43698.c to avoid clash with uclibc. Date: Wed, 15 May 2019 14:39:44 +0200 Message-ID: <20190515124006.25840-20-christophe.lyon@st.com> In-Reply-To: <20190515124006.25840-1-christophe.lyon@st.com> References: <20190515124006.25840-1-christophe.lyon@st.com> MIME-Version: 1.0 X-IsSubscribed: yes uclibc defines bswap_32, so use a different name in this test. 2019-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; \ }))