summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wsizeof-pointer-memaccess1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wsizeof-pointer-memaccess1.c')
-rw-r--r--gcc/testsuite/gcc.dg/Wsizeof-pointer-memaccess1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/Wsizeof-pointer-memaccess1.c b/gcc/testsuite/gcc.dg/Wsizeof-pointer-memaccess1.c
index 66be5a5c4b2..ebdef690879 100644
--- a/gcc/testsuite/gcc.dg/Wsizeof-pointer-memaccess1.c
+++ b/gcc/testsuite/gcc.dg/Wsizeof-pointer-memaccess1.c
@@ -1,6 +1,7 @@
/* Test -Wsizeof-pointer-memaccess warnings. */
/* { dg-do compile } */
/* { dg-options "-Wall -Wno-sizeof-array-argument" } */
+/* { dg-require-effective-target alloca } */
typedef __SIZE_TYPE__ size_t;
extern void bzero (void *, size_t);