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  <t...@codesourcery.com>

	* 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" "" } */

Reply via email to