From patchwork Wed Jun 13 18:58:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitar Dimitrov X-Patchwork-Id: 929071 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-479662-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="jUV8USMY"; 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 415d7q5tYWz9ry1 for ; Thu, 14 Jun 2018 06:07:03 +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=Gw1Q6Zuz+XPI7nm85QUA8XWRKp66S4L2L/BT2qscov5YWEJxdg6wY pXys4SXoYtLhKRM9epxAXPBCKRi4cXnJd45jdc/rs4QqvbPXC9neQ4m9+p+K4X4T cMOK7GDNajJWgyvqOr198DE4YjMFgULKiY2zGOFBd/NWT6rWyVkHLk= 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=r6+igFcWuE2W1Vrpe3Vlidg4o1E=; b=jUV8USMY1RH19IukO/0c 8Ou0G78dhA0lvbnGha9hhBjpFKtlVC+NbZuAZ5NMhq7LE2ThKzop43UCPNNfxsNw XGTdVIC8FmkGfraHNNW180cnjXM1+7eMNKIHOe4Q4vMRDwXuTJgaLmaT+Z2tv/3p 2igd2iFtrMIPRiot3RyNsCA= Received: (qmail 113173 invoked by alias); 13 Jun 2018 20:06:49 -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 113050 invoked by uid 89); 13 Jun 2018 20:06:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: spamexpert01-s28.outgoing.host.bg Received: from spamexpert01-s28.outgoing.host.bg (HELO spamexpert01-s28.outgoing.host.bg) (217.174.156.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Jun 2018 20:06:47 +0000 Received: from server28.host.bg ([193.107.36.199]) by spamexpert01.outgoing.host.bg with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fTAyN-0007RV-96 for gcc-patches@gcc.gnu.org; Wed, 13 Jun 2018 21:58:24 +0300 Received: from [95.87.234.74] (port=54300 helo=localhost.localdomain) by server28.host.bg with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1fTAyL-002tSX-1Z; Wed, 13 Jun 2018 21:58:21 +0300 From: Dimitar Dimitrov To: gcc-patches@gcc.gnu.org Cc: Dimitar Dimitrov Subject: [PATCH 07/11] testsuite: Define PRU stack usage Date: Wed, 13 Jun 2018 21:58:01 +0300 Message-Id: <20180613185805.7833-8-dimitar@dinux.eu> In-Reply-To: <20180613185805.7833-1-dimitar@dinux.eu> References: <20180613185805.7833-1-dimitar@dinux.eu> X-AuthUser: dimitar@dinux.eu X-SpamExperts-Domain: server28.host.bg X-SpamExperts-Username: 193.107.36.199 Authentication-Results: outgoing.host.bg; auth=pass smtp.auth=193.107.36.199@server28.host.bg X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: SB/global_tokens (0.00229158991254) X-Recommended-Action: accept X-Report-Abuse-To: spam@spamexpert01.outgoing.host.bg X-IsSubscribed: yes gcc/testsuite/ChangeLog: 2018-06-13 Dimitar Dimitrov * gcc.dg/stack-usage-1.c: Define PRU stack usage. Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.dg/stack-usage-1.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/gcc.dg/stack-usage-1.c b/gcc/testsuite/gcc.dg/stack-usage-1.c index 038bd4ec05c..ffa97da6c32 100644 --- a/gcc/testsuite/gcc.dg/stack-usage-1.c +++ b/gcc/testsuite/gcc.dg/stack-usage-1.c @@ -93,6 +93,8 @@ # define SIZE 254 #elif defined (__nios2__) # define SIZE 252 +#elif defined (__PRU__) +# define SIZE 252 #elif defined (__v850__) #define SIZE 260 #elif defined (__mn10300__)