From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81642 invoked by alias); 21 Jun 2017 13:19:43 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 81295 invoked by uid 89); 21 Jun 2017 13:19:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=30pm X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Jun 2017 13:19:39 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 42B447CE1B; Wed, 21 Jun 2017 13:19:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 42B447CE1B Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jakub@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 42B447CE1B Received: from tucnak.zalov.cz (ovpn-116-143.ams2.redhat.com [10.36.116.143]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 65B036A2C4; Wed, 21 Jun 2017 13:19:37 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id v5LDJX5Z020943; Wed, 21 Jun 2017 15:19:34 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id v5LDJUfV017762; Wed, 21 Jun 2017 15:19:30 +0200 Date: Wed, 21 Jun 2017 13:19:00 -0000 From: Jakub Jelinek To: Tom de Vries Cc: GCC Patches , Mike Stump , Rainer Orth Subject: Re: [PATCH, testsuite] Add effective target stack_size Message-ID: <20170621131930.GQ2123@tucnak> Reply-To: Jakub Jelinek References: <50077577-1941-e83f-aeb6-e63e1bd2701d@mentor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50077577-1941-e83f-aeb6-e63e1bd2701d@mentor.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg01576.txt.bz2 On Fri, Jun 09, 2017 at 04:24:30PM +0200, Tom de Vries wrote: > * gcc.dg/tree-prof/comp-goto-1.c: Same. > * gcc.dg/tree-prof/pr44777.c: Same. > --- a/gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c > +++ b/gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c > @@ -1,6 +1,8 @@ > /* { dg-require-effective-target freorder } */ > /* { dg-require-effective-target label_values } */ > /* { dg-options "-O2 -freorder-blocks-and-partition" } */ > +/* { dg-additional-options "-DSTACK_SIZE=[dg-effective-target-value stack_size]" { target { stack_size } } } */ > + > #include > > #if (!defined(STACK_SIZE) || STACK_SIZE >= 4000) && __INT_MAX__ >= 2147483647 > diff --git a/gcc/testsuite/gcc.dg/tree-prof/pr44777.c b/gcc/testsuite/gcc.dg/tree-prof/pr44777.c > index 4074b75..1249b5b 100644 > --- a/gcc/testsuite/gcc.dg/tree-prof/pr44777.c > +++ b/gcc/testsuite/gcc.dg/tree-prof/pr44777.c > @@ -2,6 +2,8 @@ > /* { dg-require-effective-target label_values } */ > /* { dg-require-effective-target trampolines } */ > /* { dg-options "-O0" } */ > +/* { dg-additional-options "-DSTACK_SIZE=[dg-effective-target-value stack_size]" { target { stack_size } } } */ > + > /* A variant of gcc.c-torture/execute/comp-goto-2.c. */ > > extern void abort (void); I'm now seeing WARNING: profopt.exp does not support dg-add-options WARNING: profopt.exp does not support dg-add-options so the above doesn't look correct. Jakub