From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Archive: List-Post: List-Help: Sender: gcc-patches-owner@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, 04 Dec 2017 07:01:00 -0000 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> Content-Type: multipart/mixed; boundary="------------EFD9E7AEB203D9E9696C7928" 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) X-SW-Source: 2017-12/txt/msg00121.txt.bz2 --------------EFD9E7AEB203D9E9696C7928 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 542 [ 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 --------------EFD9E7AEB203D9E9696C7928 Content-Type: text/x-patch; name="0001-Require-effective-target-alloca-for-pr82875.c.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-Require-effective-target-alloca-for-pr82875.c.patch" Content-length: 581 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; --------------EFD9E7AEB203D9E9696C7928--