From patchwork Thu Aug 3 07:19:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 797028 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-459694-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="iANPviuz"; 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 3xNLzb4XzGz9s72 for ; Thu, 3 Aug 2017 17:19:55 +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:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=MgWyjAKcP5xdv9gItKKdjVlkyvJ2/ylf50aWrE2GISvNEV4H1S BulB3OTtLRGxKKUueqwYTAMxXPHFnKl/bkNCjeEMnB8Fz9ZiffG6F50u+tE0pz2B rYPMXzNXCoYopeTKaCInZvauBpDODzyqcZ5/i7Vv4NHzmN8DCfa6SGfUs= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=wqzs7/8L9y7DgLHLq45X0rj/GmA=; b=iANPviuzquaADdRrsJRA JdLcMYf76LLSGGgWD/L6ZYq0cpEM2+5vJg0Z4iJtGI+z7amnsD2tC74lSsqhGonf TL57oDYet/WngkOgYYgtBAgSLGc19y+FFNZTeBrmN2EKlkNTy3QzSbfdvlOELQBB PeerSoOYZDPjVmaUA+8PgTQ= Received: (qmail 72686 invoked by alias); 3 Aug 2017 07:19:46 -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 70092 invoked by uid 89); 3 Aug 2017 07:19:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No 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, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 03 Aug 2017 07:19:40 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1ddAPz-0001iG-2i from Tom_deVries@mentor.com for gcc-patches@gcc.gnu.org; Thu, 03 Aug 2017 00:19:39 -0700 Received: from [127.0.0.1] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 3 Aug 2017 08:19:35 +0100 To: GCC Patches From: Tom de Vries Subject: [testsuite, committed] Require alloca for gcc.dg/attr-noipa.c Message-ID: <18303662-e092-3627-fd7c-42480a8774f8@mentor.com> Date: Thu, 3 Aug 2017 09:19:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) Hi, this patch requires effective target alloca for gcc.dg/attr-noipa.c. Committed. Thanks, - Tom Require alloca for gcc.dg/attr-noipa.c 2017-08-02 Tom de Vries * gcc.dg/attr-noipa.c: Require alloca. --- gcc/testsuite/gcc.dg/attr-noipa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/attr-noipa.c b/gcc/testsuite/gcc.dg/attr-noipa.c index 1d2b868..e2349b6 100644 --- a/gcc/testsuite/gcc.dg/attr-noipa.c +++ b/gcc/testsuite/gcc.dg/attr-noipa.c @@ -1,6 +1,7 @@ /* Test the noipa attribute. */ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ +/* { dg-require-effective-target alloca } */ static inline int __attribute__((noipa)) fn1 (void) /* { dg-warning "inline function \[^\n\]* given attribute noinline" "" } */