From patchwork Mon Dec 4 07:01:39 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: 844137 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-468418-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="hx5vfOKM"; 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 3yqwmQ0RN4z9s83 for ; Mon, 4 Dec 2017 18:02:11 +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 :subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type; q=dns; s=default; b=jii4rkkpgD3imc9K0 AE0JmaQuXCeVKw3DlS6vaVfP9y+KaxbW6dHlEBRIEHSRFIeTF5YGUMinjIqB1liO MAaNv30NCHGv7ea7lYgAXusjH7hVvExeS0o/7rV9g/qSkwOU4Ly69kz+SIvOUiEz I/B/mUh+ppvNAIRPEKoWal6L4c= 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 :subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type; s=default; bh=1tz/XxsV+CNebmD3s2houdV SAgI=; b=hx5vfOKMVAkKOlurfMm/+wdf+O3nBeoqjQz0aOPfV4EMdvQeFCyMy+5 A7lDVZI2fhLOhDspebVQk8NMADjYuVJeuhKp4uMU1akVE+NnNFWEUmd84RwMTMXW 4rr/moHlu/4kziSJ4xRohiiXZge6wlTbaFwt7yHftwkRkpdK0Fpk= Received: (qmail 101457 invoked by alias); 4 Dec 2017 07:01:51 -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 101391 invoked by uid 89); 4 Dec 2017 07:01:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.7 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=vries 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; Mon, 04 Dec 2017 07:01:47 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1eLkl6-0003BG-0m from Tom_deVries@mentor.com ; Sun, 03 Dec 2017 23:01:44 -0800 Received: from [172.30.72.48] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Mon, 4 Dec 2017 07:01:40 +0000 Subject: [testsuite, committed] Require effective target alloca for pr82875.c To: Jakub Jelinek , Richard Biener , Richard Sandiford CC: References: <20171122091718.GH14653@tucnak> From: Tom de Vries Message-ID: Date: Mon, 4 Dec 2017 08:01:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171122091718.GH14653@tucnak> 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) [ was: Re: [PATCH] Fix mult expansion ICE (PR middle-end/82875) ] On 11/22/2017 10:17 AM, Jakub Jelinek wrote: > --- gcc/testsuite/gcc.dg/pr82875.c.jj 2017-11-21 17:50:16.022274628 +0100 > +++ gcc/testsuite/gcc.dg/pr82875.c 2017-11-21 17:49:46.000000000 +0100 > @@ -0,0 +1,11 @@ > +/* PR middle-end/82875 */ > +/* { dg-do compile } */ > +/* { dg-options "-ftree-ter" } */ > + > +const int a = 100; > + > +void > +foo (void) > +{ > + int c[a]; > +} Hi, this patch requires effective target alloca for pr82875.c. Committed. Thanks, - Tom Require effective target alloca for pr82875.c 2017-12-04 Tom de Vries * gcc.dg/pr82875.c: Require effective target alloca. --- gcc/testsuite/gcc.dg/pr82875.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/pr82875.c b/gcc/testsuite/gcc.dg/pr82875.c index 5b97b80..52f1de7 100644 --- a/gcc/testsuite/gcc.dg/pr82875.c +++ b/gcc/testsuite/gcc.dg/pr82875.c @@ -1,6 +1,7 @@ /* PR middle-end/82875 */ /* { dg-do compile } */ /* { dg-options "-ftree-ter" } */ +/* { dg-require-effective-target alloca } */ const int a = 100;