From patchwork Tue Mar 3 15:42:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: will schmidt X-Patchwork-Id: 1248466 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-520537-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vnet.ibm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=bMROgXDH; 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 48X1Vd12yfz9sRR for ; Wed, 4 Mar 2020 02:42:22 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:cc:date:content-type:mime-version :content-transfer-encoding; q=dns; s=default; b=h88NiT3YXXsZTZAo 1EApzE/b7UcXw4/VoKffiqriUkRIcJ0uvqtdMZe/frFbweCFdMnZQctMIpfbU+eh cHj3TT5GtIiC4k5CNHjQi9Sdf5j4Vf0AZHDJ4gfrC9azdYhy+qKQie6MniTF0HN5 se3r9yuOcx8K18acrgPQkTaOQM0= 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 :message-id:subject:from:to:cc:date:content-type:mime-version :content-transfer-encoding; s=default; bh=EXq8oa4XsNpmhu01yO0V8n y1ACs=; b=bMROgXDH69PjUx+ykIXYpqPhsuH5EpyMvw6GYOutih71vSjC/opp7A vaQhU4sAueQp+xrpZdAq5IrT0HD4lZaB/c/32W/pPgUszgttNmjsFLZjmc2qLI5Y wmhs9HmDj7Ig2N3eJxE1cNDt+IzKPQztVf9pSbatWIBhE/p0aQwMg= Received: (qmail 56324 invoked by alias); 3 Mar 2020 15:42:16 -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 56305 invoked by uid 89); 3 Mar 2020 15:42:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.5 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: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Mar 2020 15:42:14 +0000 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 023FXjDu022081; Tue, 3 Mar 2020 10:42:13 -0500 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2yfmu5b0qj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Mar 2020 10:42:13 -0500 Received: from m0098421.ppops.net (m0098421.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 023FXlJV022300; Tue, 3 Mar 2020 10:42:12 -0500 Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0a-001b2d01.pphosted.com with ESMTP id 2yfmu5b0q4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Mar 2020 10:42:12 -0500 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 023FUo0Y014593; Tue, 3 Mar 2020 15:42:11 GMT Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by ppma04wdc.us.ibm.com with ESMTP id 2yffk6c2gm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Mar 2020 15:42:11 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 023FgAvq56033540 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 3 Mar 2020 15:42:10 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D6217BE051; Tue, 3 Mar 2020 15:42:10 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7CB0CBE04F; Tue, 3 Mar 2020 15:42:10 +0000 (GMT) Received: from brimstone.rchland.ibm.com (unknown [9.10.86.107]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Tue, 3 Mar 2020 15:42:10 +0000 (GMT) Message-ID: <8831ae95c306a729253ba28053525d2ee2918cd3.camel@vnet.ibm.com> Subject: Add dg-require to existing powerpc/pr93122.c test From: will schmidt To: gcc-patches@gcc.gnu.org Cc: Segher Boessenkool , David Edelsohn Date: Tue, 03 Mar 2020 09:42:10 -0600 Mime-Version: 1.0 X-IsSubscribed: yes Add dg-require to existing pr93122.c test Hi, This test (gcc.target/powerpc/pr93122.c) uses the -mcpu=future option. It should also ensure the target can support the same. Thus, add a dg-requires clause to indicate a future target is supported on the platform. Sniff tested successfully. (mostly obvious). OK for master? Thanks -Will 2020-03-03 Will Schmidt testsuite/ * gcc.target/powerpc/pr93122.c: Add dg-require. diff --git a/gcc/testsuite/gcc.target/powerpc/pr93122.c b/gcc/testsuite/gcc.target/powerpc/pr93122.c index 701711a..a440a05 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr93122.c +++ b/gcc/testsuite/gcc.target/powerpc/pr93122.c @@ -1,6 +1,7 @@ /* PR target/93122 */ +/* { dg-require-effective-target powerpc_future_ok } */ /* { dg-do compile { target lp64 } } */ /* { dg-options "-fstack-clash-protection -mprefixed -mfuture" } */ void bar (char *);