Message ID | 18303662-e092-3627-fd7c-42480a8774f8@mentor.com |
---|---|
State | New |
Headers | show |
Require alloca for gcc.dg/attr-noipa.c 2017-08-02 Tom de Vries <tom@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" "" } */