diff options
author | Tom de Vries <tom@codesourcery.com> | 2017-08-03 07:08:19 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2017-08-03 07:08:19 +0000 |
commit | 2a8485f6003907bf6cb7cb6908229acab09268a9 (patch) | |
tree | 8f78ebee4102b252447a0c7c850f1ea86a25a11d /gcc/testsuite/gcc.dg | |
parent | 8b917598b0042c446b55647d3ef9a8e5629732d5 (diff) | |
download | gcc-2a8485f6003907bf6cb7cb6908229acab09268a9.zip gcc-2a8485f6003907bf6cb7cb6908229acab09268a9.tar.gz gcc-2a8485f6003907bf6cb7cb6908229acab09268a9.tar.bz2 |
Require alloca for gcc.dg/attr-noipa.c
2017-08-03 Tom de Vries <tom@codesourcery.com>
* gcc.dg/attr-noipa.c: Require alloca.
From-SVN: r250844
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/attr-noipa.c | 1 |
1 files changed, 1 insertions, 0 deletions
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" "" } */ |