From patchwork Thu Jun 20 10:39:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 1119376 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-503345-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="K6kawedY"; 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 45Tyxr0HLDz9s4V for ; Thu, 20 Jun 2019 20:39:59 +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:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=M5nJd2YoZhDoZBG3efXoZ6+8O359OJ5fnxu7GRk4hRuczl/AqffDm sLt+SbGI5ATOrBQrptUqNXppILuh7fbZfLHQzFykLbeJ2J/I8OZobO+mwKp+0mxc U/dVD29eQa6y3PDl9cPZa69mrQFS+aYH4XYAlqAQNywOh6X+ujWPtQ= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=XpUlcthxJaPnn3N/BvBut/tfULA=; b=K6kawedYrWXvkGB6otgh TQVkGCBwH0zMWXTHrePwQXauIcGmdtEH/QdyFEmYUd1DDTZv20fvl6hnqogutZhc M9Z1XlDyMPczv18wMLsCQcoN/gc07NPatc/snQXn+lbq5tMnyxohS+KhHO0YJ12H 35DF2FRK87E7ZTQ1BbVv61M= Received: (qmail 31106 invoked by alias); 20 Jun 2019 10:39:53 -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 31095 invoked by uid 89); 20 Jun 2019 10:39:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.6 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.1 spammy= X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Jun 2019 10:39:51 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B9901AC6A for ; Thu, 20 Jun 2019 10:39:49 +0000 (UTC) Date: Thu, 20 Jun 2019 12:39:48 +0200 From: Tom de Vries To: gcc-patches@gcc.gnu.org Subject: [committed][testsuite] Add missing dg-require-effective-target nonlocal_goto Message-ID: <20190620103946.GA10975@delia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-IsSubscribed: yes Hi, Add missing dg-require-effective-target nonlocal_goto. Tested on nvptx. Committed to trunk. Thanks, - Tom [testsuite] Add missing dg-require-effective-target nonlocal_goto 2019-06-20 Tom de Vries * gcc.c-torture/compile/pr89280.c: Require nonlocal_goto. * gcc.dg/pr88870.c: Same. * gcc.dg/pr90082.c: Same. --- gcc/testsuite/gcc.c-torture/compile/pr89280.c | 1 + gcc/testsuite/gcc.dg/pr88870.c | 1 + gcc/testsuite/gcc.dg/pr90082.c | 1 + 3 files changed, 3 insertions(+) diff --git a/gcc/testsuite/gcc.c-torture/compile/pr89280.c b/gcc/testsuite/gcc.c-torture/compile/pr89280.c index ceb15387522..15b6e7051f8 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr89280.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr89280.c @@ -1,3 +1,4 @@ +// { dg-require-effective-target nonlocal_goto } // { dg-require-effective-target label_values } /* PR tree-optimization/89280 */ diff --git a/gcc/testsuite/gcc.dg/pr88870.c b/gcc/testsuite/gcc.dg/pr88870.c index 3f46f32f3ee..81f686bd972 100644 --- a/gcc/testsuite/gcc.dg/pr88870.c +++ b/gcc/testsuite/gcc.dg/pr88870.c @@ -1,5 +1,6 @@ /* PR rtl-optimization/88870 */ /* { dg-do compile } */ +/* { dg-require-effective-target nonlocal_goto } */ /* { dg-options "-O1 -fexceptions -fnon-call-exceptions -ftrapv -fno-tree-dominator-opts" } */ int a, b; diff --git a/gcc/testsuite/gcc.dg/pr90082.c b/gcc/testsuite/gcc.dg/pr90082.c index af741ff3b4c..a8d76bbc78e 100644 --- a/gcc/testsuite/gcc.dg/pr90082.c +++ b/gcc/testsuite/gcc.dg/pr90082.c @@ -1,5 +1,6 @@ /* PR rtl-optimization/90082 */ /* { dg-do compile } */ +/* { dg-require-effective-target nonlocal_goto } */ /* { dg-require-effective-target label_values } */ /* { dg-options "-O1 -fnon-call-exceptions -ftrapv" } */