From patchwork Thu Jul 12 20:32:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Wilson X-Patchwork-Id: 943217 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-481458-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="yqddekRY"; dkim=pass (2048-bit key; unprotected) header.d=sifive.com header.i=@sifive.com header.b="Ak3dNc7A"; 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 41RSLR5RjHz9s21 for ; Fri, 13 Jul 2018 06:33:02 +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; q=dns; s=default; b=CVLD/L+FblD7 pvuHSLvEYAoVG86w3IapvMGqbpxJVopYzp0KXELmDP8imFYH9QJntr2ck5RqfZkf yjTbsRsEXWzSL6drWmW77tbBYxW4+BMNj8cDW0RR+x27x7gw9dQdLiA61bAu1rJx eJz7zmL7jPCPcOdNSzLIR3tQhUPOnjg= 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; s=default; bh=sgfyfTO9M7acNxwNun /wojlJYDA=; b=yqddekRYMbbcD1TrjT2Qi9z8zIN0l+a2GDUUW9MJeaCdaK/abz umumRjwPvbGGWFG1DfHel+MO6lnBUIKHQbhYTNh+tMzr7OffYJ3Kuat6GbI05Nq1 RPhihALZiREXv0pGCMnq3AtDheI/8AO3kknOlzw4V1sOJl43cQxyXEcKU= Received: (qmail 90632 invoked by alias); 12 Jul 2018 20:32:55 -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 90614 invoked by uid 89); 12 Jul 2018 20:32:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:b1-v6so, lista, Silence, UD:A X-HELO: mail-pl0-f54.google.com Received: from mail-pl0-f54.google.com (HELO mail-pl0-f54.google.com) (209.85.160.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 Jul 2018 20:32:54 +0000 Received: by mail-pl0-f54.google.com with SMTP id b1-v6so11152876pls.5 for ; Thu, 12 Jul 2018 13:32:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id; bh=yCiGuCaKi3bRBDWhgcjKuYk67/uOmyroKTL/HeCZenU=; b=Ak3dNc7AUy8bTGaSI/5h6IAYT03xChe8SdNRLEyHAmBRJZFw0m8RQgnnzGkNf4aCdY KfpRjnmrT8wy4Fzu5AAnCNwCUt3/BLnHUstlvyyjfMkqQikBm5AsUZOqeCnOxuQdX9O7 AHXE8karg3V7DFgyvBJwybhgyuGrNpxlizO+bPSvr3LMHbrQGTD15qznX78pdQt6l81s njMWaMSyIKbgounB7SZeIpWSCKflX1ONGjexPuJs5gxM2dwNCOqcssLKbAhQ5teBleT8 lzsLMBnbubOiKxnTZQUeCF8k/Zy6F9O5PAvYxq1XS42OTXuwDGu3/7fxuSIJsc+w2I9V GShQ== Received: from rohan.internal.sifive.com ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id r19-v6sm27826757pgg.39.2018.07.12.13.32.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jul 2018 13:32:51 -0700 (PDT) From: Jim Wilson To: gcc-patches@gcc.gnu.org Cc: Jim Wilson Subject: [PATCH] RISC-V: Silence expected Ada testsuite warning. Date: Thu, 12 Jul 2018 13:32:47 -0700 Message-Id: <20180712203247.1453-1-jimw@sifive.com> This eliminates one Ada testsuite failure, by adding riscv*-*-* for the list of targets that expect this warning. This was pre-approved by Eric Botcazou. Tested with a riscv64-linux native Ada testsuite run. There was one less failure with this patch. Committed. Jim gcc/testsuite/ * gnat.dg/warn5.adb: Expect warning for riscv*-*-*. --- gcc/testsuite/gnat.dg/warn5.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gnat.dg/warn5.adb b/gcc/testsuite/gnat.dg/warn5.adb index 77e4a66f733..61f76972480 100644 --- a/gcc/testsuite/gnat.dg/warn5.adb +++ b/gcc/testsuite/gnat.dg/warn5.adb @@ -26,7 +26,7 @@ procedure Warn5 is function Pointer (Pos : Natural; List : List_Type) return Pointer_Type is begin - return To_Ptr(List.A(Pos)'Address); -- { dg-warning "source alignment" "" { target alpha*-*-* arm*-*-* hppa*-*-* ia64-*-* mips*-*-* sparc*-*-* } } + return To_Ptr(List.A(Pos)'Address); -- { dg-warning "source alignment" "" { target alpha*-*-* arm*-*-* hppa*-*-* ia64-*-* mips*-*-* riscv*-*-* sparc*-*-* } } end; begin