From 2a8485f6003907bf6cb7cb6908229acab09268a9 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 3 Aug 2017 07:08:19 +0000 Subject: [PATCH] Require alloca for gcc.dg/attr-noipa.c 2017-08-03 Tom de Vries * gcc.dg/attr-noipa.c: Require alloca. From-SVN: r250844 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/attr-noipa.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index de939c8e340..ae02cf46548 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-08-03 Tom de Vries + + * gcc.dg/attr-noipa.c: Require alloca. + 2017-08-03 Tom de Vries * gcc.dg/torture/pr80163.c: Require label_values. diff --git a/gcc/testsuite/gcc.dg/attr-noipa.c b/gcc/testsuite/gcc.dg/attr-noipa.c index 1d2b86894ed..e2349b6a418 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" "" } */ -- 2.30.2