From patchwork Sun Jun 11 08:13:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Hua X-Patchwork-Id: 774306 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3wlphZ0DPJz9s7M for ; Sun, 11 Jun 2017 18:13:57 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="UTSywuTe"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=N2vjFIAayVIRTKVdhOCAmX+NSpiUhv3SSYhbXCImhoriIB 6H0TUGi9WdJce+ViBV5jzeF3xTOE6RmIF1LW6p/AN4n9M2PKOvavQczMLMAMH/VL zSNva9jKurBPdmwCiXvAZMUFqqUfeiVCkmXgKmnVcHbr0KAf9zVl24GTxCKmo= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=kCeCs4UWZnff0p7Ko8lX3euvxxo=; b=UTSywuTeHjajt7lfYDn7 QFP5XP4K+3Eht1BWThbwNp/wOhI4WIkCgjHXX0ksJqP4PQ4jXclFxFLhrStpOzDb k966uE+DTry9L2AXeBNBHXl7e2yCLMTrOmlZbTwc1GU87xYEmnLHYJFxxCJhQHN1 twJjvM/SIKq0qfzKItKG4dE= Received: (qmail 54985 invoked by alias); 11 Jun 2017 08:13:41 -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 53242 invoked by uid 89); 11 Jun 2017 08:13:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qt0-f178.google.com Received: from mail-qt0-f178.google.com (HELO mail-qt0-f178.google.com) (209.85.216.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 11 Jun 2017 08:13:36 +0000 Received: by mail-qt0-f178.google.com with SMTP id w1so101850501qtg.2 for ; Sun, 11 Jun 2017 01:13:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zthtfApHtkw5G/dqJRIOuul8O7V8bhjvHdglgMdQzFc=; b=t6eE4Ibpw9rk06TMn1EW7LgjSnXQCHRP2oBOdS7y2PUpT1W4qmRGrKZcr8hHHbRiUQ pO7ePmseWjZDNU0ZZE2OXojNvzZFll0ayOS5YotQX7wDVbPqyIg9AzsOL0tgp+K6oC1Z F3C9lms8U88kO/ci+vZ3T91KnL/E6VtQRQpHXtlM6RpJQH/4AhWiONpwlqbQ02UDraOt pjRyrsRXjK73iE0ivkDgN5ur8M5VtWWGIB3j24vMi6Kh3nSgWS75S38RkWc+yJdWk+Mg eb4ZK6yQrdoFu4xE4v57sFxK/lk9XDPmYSVB7rALjHqh9DYTPz9JiLueZIxg44Mm2u8l 0l5w== X-Gm-Message-State: AODbwcC8GwdtWjniC3cI4bHu6+LFP3/St7PZSkreNe3OSx4W73liqxvE IgQLfWyyp/84oqwfgbJsOU1KRESZh9b3 X-Received: by 10.200.47.210 with SMTP id m18mr56341865qta.187.1497168819149; Sun, 11 Jun 2017 01:13:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.136.3 with HTTP; Sun, 11 Jun 2017 01:13:38 -0700 (PDT) From: Paul Hua Date: Sun, 11 Jun 2017 16:13:38 +0800 Message-ID: Subject: [PATCH, Testsuite] Check split_stack is ok for target in tree-prof/split-1.c To: gcc-patches X-IsSubscribed: yes Hi: tree-prof/split-1.c use -fsplit-stack in dg-options but not check is ok for target. This patch add "dg-require-effective-target split_stack" for it. Ok for commit ? Paul. ---- ChangeLog 2017-06-11 Chenghua Xu * gcc.dg/tree-prof/split-1.c: Require split_stack support. diff --git a/gcc/testsuite/gcc.dg/tree-prof/split-1.c b/gcc/testsuite/gcc.dg/tree-prof/split-1.c index a42fccf..4b90b63 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/split-1.c +++ b/gcc/testsuite/gcc.dg/tree-prof/split-1.c @@ -1,6 +1,7 @@ /* Test case that we don't get a link-time error when using -fsplit-stack with -freorder-blocks-and-partition. */ /* { dg-require-effective-target freorder } */ +/* { dg-require-effective-target split_stack } */ /* { dg-options "-O2 -fsplit-stack" } */ extern unsigned int sleep (unsigned int);