summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/goacc/reduction-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/c-c++-common/goacc/reduction-2.c')
-rw-r--r--gcc/testsuite/c-c++-common/goacc/reduction-2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/goacc/reduction-2.c b/gcc/testsuite/c-c++-common/goacc/reduction-2.c
index 1f95138ff0b..2964236f6c6 100644
--- a/gcc/testsuite/c-c++-common/goacc/reduction-2.c
+++ b/gcc/testsuite/c-c++-common/goacc/reduction-2.c
@@ -1,3 +1,4 @@
+/* { dg-require-effective-target alloca } */
/* float reductions. */
#define vl 32