This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[testsuite, committed] Require effective target alloca for pr82875.c


[ 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;
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]