From patchwork Thu Sep 6 11:12:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitar Dimitrov X-Patchwork-Id: 966915 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-485294-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="bV/vdhbp"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dinux.eu header.i=@dinux.eu header.b="rTAtiH0M"; 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 425dJ74Tmdz9s3x for ; Thu, 6 Sep 2018 21:14:31 +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=Pb4+q2e2E1qzPnRQFIC+EAZNUwSO2EdM9YsXvPrxjB34ouLJ71CZ9 aqk4KFMJFilK+xdpvyMUztaDxHznp3loXnOXJJxF8e6wjfirb69pXQlLaX//a6io GG19ITrNLwEmGsrvZ4cTdzhvDCW3/yn+nnRvHT2GABWwnlxUwbJBfc= 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=PIx7WPdV7CLuyBGAtGd5N23QjHY=; b=bV/vdhbpzKfid+OalNE/ 4OcOt4rdcNtiXZPkn9468jNm98aHePFRgXO00hRHtz2YfpbzbXxvk+rmM4MbESuf M/tiqPCP9doCnQIRPlFqgvR10GiOgZSfXTf1BodedB1D0ttQp6dOseWmtxI6ZN4t 9ne5JXhMiDOKQPD3QqX5heg= Received: (qmail 107566 invoked by alias); 6 Sep 2018 11:13:02 -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 107460 invoked by uid 89); 6 Sep 2018 11:13:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 spammy=979, Hx-languages-length:1488, HX-Get-Message-Sender-Via:sk:authent, metal X-HELO: server28.superhosting.bg Received: from server28.superhosting.bg (HELO server28.superhosting.bg) (217.174.156.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Sep 2018 11:13:00 +0000 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=dMv8Gk5ZOvyPLkCC6BD2pFoE+QFDogV8Ve52KnUItLU=; b=rTAtiH0MmaUyP9E8bpJwknL2ki k8y4Nfnvu0MIzyRDU62udSjfiP3bns+YJcxLYTh1kdctR7PmYc1bkpW4xvBb8Ri1Vf9GdhNCMZKfz uSZCRJoGvZvKBlBAFApEeHPYZyYDywppFEGvcS/IbHwi3qgSAtljCcOvxm+ARR18uOMxuaIRxEa0Q 2Nw07AiWhCy73gUO85HyGSRlqPw7hL8XOUzdF6Bj/mPOzxRU/JbzYaUO6du1FamWESvkSvQmuPDSC Q+UbRqKeKekGTjfz6C34AXdcPIlc3LNyYLAsjsmWuXnDp9TSpmKzTPzSGXtBgnLkC/jP9G3yZ1+LP oq6pd3HA==; Received: from [95.87.234.74] (port=49506 helo=localhost.localdomain) by server28.superhosting.bg with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1fxsDY-0001sy-E0; Thu, 06 Sep 2018 14:12:58 +0300 From: Dimitar Dimitrov To: gcc-patches@gcc.gnu.org Cc: Dimitar Dimitrov Subject: [PATCH v4 06/10] testsuite: Remove PRU from test cases requiring hosted environment Date: Thu, 6 Sep 2018 14:12:13 +0300 Message-Id: <20180906111217.24365-7-dimitar@dinux.eu> In-Reply-To: <20180906111217.24365-1-dimitar@dinux.eu> References: <20180906111217.24365-1-dimitar@dinux.eu> X-OutGoing-Spam-Status: No, score=-1.0 X-IsSubscribed: yes gcc/testsuite/ChangeLog: 2018-08-29 Dimitar Dimitrov * gcc.c-torture/execute/20101011-1.c: Define DO_TEST to 0 for PRU. * gcc.dg/20020312-2.c: No PIC register for PRU. Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.c-torture/execute/20101011-1.c | 3 +++ gcc/testsuite/gcc.dg/20020312-2.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c index f95d900deaf..aa72b35fa16 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c @@ -97,6 +97,9 @@ __aeabi_idiv0 (int return_value) /* This presently doesn't raise SIGFPE even on csky-linux-gnu, much less bare metal. See the implementation of __divsi3 in libgcc. */ # define DO_TEST 0 +#elif defined (__pru__) +/* There isn't even a signal function. */ +# define DO_TEST 0 #else # define DO_TEST 1 #endif diff --git a/gcc/testsuite/gcc.dg/20020312-2.c b/gcc/testsuite/gcc.dg/20020312-2.c index f8be3ce2964..365ae6e847c 100644 --- a/gcc/testsuite/gcc.dg/20020312-2.c +++ b/gcc/testsuite/gcc.dg/20020312-2.c @@ -116,6 +116,8 @@ extern void abort (void); # if defined (__CK807__) || defined (__CK810__) # define PIC_REG "r28" # endif +#elif defined(__PRU__) +/* No pic register. */ #else # error "Modify the test for your target." #endif