This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite, committed] Require effective target alloca for pr82875.c
- From: Tom de Vries <Tom_deVries at mentor dot com>
- To: Jakub Jelinek <jakub at redhat dot com>, Richard Biener <rguenther at suse dot de>, Richard Sandiford <richard dot sandiford at linaro dot org>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 4 Dec 2017 08:01:39 +0100
- Subject: [testsuite, committed] Require effective target alloca for pr82875.c
- Authentication-results: sourceware.org; auth=none
- References: <20171122091718.GH14653@tucnak>
[ 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 <tom@codesourcery.com>
* 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;