summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vla-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/vla-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/vla-3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/vla-3.c b/gcc/testsuite/gcc.dg/vla-3.c
index 619c0422a4d..51dae42f7ec 100644
--- a/gcc/testsuite/gcc.dg/vla-3.c
+++ b/gcc/testsuite/gcc.dg/vla-3.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
+/* { dg-require-effective-target alloca } */
/* This used to crash as we did not preserve the correct type
for __SIZE_TYPE__. See PR22439. */