From patchwork Thu Aug 16 04:49:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitar Dimitrov X-Patchwork-Id: 958099 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-483761-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="YO6UQwGY"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dinux.eu header.i=@dinux.eu header.b="fP8zBiIQ"; dkim-atps=neutral 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 41rYq26pkBz9s4c for ; Thu, 16 Aug 2018 14:52:30 +1000 (AEST) 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; q=dns; s= default; b=hJjxVAKsg7fOLFr1afMgBJm3QjXghp8ASTLf3TcOD+D/mQejf32sB pSXPjapQHy3AIix1b/EnFjOY/jb9ydqqfDZ4krQP9UpV5ONyaWTxXYqx2njaqomP nuJyP/BkCe2og8W4hP99pATyhMnInqEhizbOyuLH9PiXGduDZs+MXs= 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; s= default; bh=2EBcEqM+yiU2QUrIrpjk3VNkpnw=; b=YO6UQwGY1xBqNU+eYTj9 zK2WJvHkVojr+eHnjF0eKCCW+aBl5ouRlwnZYpUo2pM1Lr9bf8F+nto+TFt56szG PfNOk8S1yQqyQSR45iuH+l44JkgSAxaR6znNnUnxlpGxDvnOCSYI84f96ntTAchA 8SLQzt1XfVGKrgvydDSpQnc= Received: (qmail 100081 invoked by alias); 16 Aug 2018 04:50:52 -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 99791 invoked by uid 89); 16 Aug 2018 04:50:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=HX-Get-Message-Sender-Via:sk:authent X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Aug 2018 04:50:44 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fqAF6-0004ml-T7 for gcc-patches@gcc.gnu.org; Thu, 16 Aug 2018 00:50:42 -0400 Received: from smtp-out1.superhosting.bg ([91.196.127.170]:38819) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fqAF5-0004ll-3D for gcc-patches@gcc.gnu.org; Thu, 16 Aug 2018 00:50:39 -0400 Received: from server28.superhosting.bg ([193.107.36.199]) by smtp-out1.superhosting.bg with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1fqAF3-0004ec-UK for gcc-patches@gcc.gnu.org; Thu, 16 Aug 2018 07:50:37 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TnIG2XJ1qSn3zZ9sPuEJhF9JT+fegxGdTrj9k7KDwas=; b=fP8zBiIQr4R5DodDm+rNusaCST J+uv3wR1GF+CuSrUt905drMfRVBzHQ5YnToQ/0awIaC8hR5UFkMfYaHSS5QeiyEDnZUivQ+KGXMxi ssSZ4NzY2kWbjvtHFSdIp0tte1zDV3HV0xlAo6paKgWdFpYv2SxHmtZLtfpHjAyVfJzX6vc8a+FKK I5aVhqtMNLTCwHot6KwWa7Azl7tPGOaPv2BlfAC+gNtloS5EjpwADOGbUZOVVgdO+dmi9B6Sx8FWY 71hiNY74nS+Urbc4u7fL4dluJS+RefhOeGawIq2UNiHZCf8VVWdmQQuNRYcUaCmszDFCVw835e/iS 5PcWeo6A==; Received: from [95.87.234.74] (port=43018 helo=localhost.localdomain) by server28.superhosting.bg with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1fqAF1-0004j3-MR; Thu, 16 Aug 2018 07:50:37 +0300 From: Dimitar Dimitrov To: gcc-patches@gcc.gnu.org Cc: Dimitar Dimitrov Subject: [PATCH v3 09/10] testsuite: Mark that PRU uses all function pointer bits Date: Thu, 16 Aug 2018 07:49:58 +0300 Message-Id: <20180816044959.12320-10-dimitar@dinux.eu> In-Reply-To: <20180816044959.12320-1-dimitar@dinux.eu> References: <20180816044959.12320-1-dimitar@dinux.eu> X-OutGoing-Spam-Status: No, score=-1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 91.196.127.170 X-IsSubscribed: yes gcc/testsuite/ChangeLog: 2018-07-27 Dimitar Dimitrov * g++.old-deja/g++.abi/ptrmem.C: Add PRU to list. Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C b/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C index 341735879c5..bda7960d8a2 100644 --- a/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C +++ b/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C @@ -7,7 +7,7 @@ function. However, some platforms use all bits to encode a function pointer. Such platforms use the lowest bit of the delta, that is shifted left by one bit. */ -#if defined __MN10300__ || defined __SH5__ || defined __arm__ || defined __thumb__ || defined __mips__ || defined __aarch64__ +#if defined __MN10300__ || defined __SH5__ || defined __arm__ || defined __thumb__ || defined __mips__ || defined __aarch64__ || defined __PRU__ #define ADJUST_PTRFN(func, virt) ((void (*)())(func)) #define ADJUST_DELTA(delta, virt) (((delta) << 1) + !!(virt)) #else