summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-vla-1.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-22 15:09:03 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-22 15:09:03 +0000
commit81654444c50bd98201fd1edcd57c420862b0c548 (patch)
tree65184cb52f754cb52b1071ce6e2f9773dd03c9c7 /gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-vla-1.c
parentaf9de21dcba9c32d110d83213caefbdb26c4e016 (diff)
downloadgcc-81654444c50bd98201fd1edcd57c420862b0c548.tar.gz
* c-c++-common/Wsizeof-pointer-memaccess1.c: Require alloca.
* c-c++-common/Wsizeof-pointer-memaccess2.c: Likewise. * c-c++-common/Wunused-var-8.c: Likewise. * c-c++-common/gomp/pr61486-2.c: Likewise. * c-c++-common/Wunused-var-6.c: Likewise. * c-c++-common/goacc/reduction-1.c: Likewise. * c-c++-common/goacc/reduction-2.c: Likewise. * c-c++-common/goacc/reduction-3.c: Likewise. * c-c++-common/goacc/reduction-4.c: Likewise. * gcc.dg/builtins-64.c: Likewise. * gcc.dg/pr59523.c: Likewise. * gcc.dg/tree-ssa/20080530.c: Likewise. * gcc.dg/tree-ssa/pr23848-2.c: Likewise. * gcc.dg/tree-ssa/pr23848-4.c: Likewise. * gcc.dg/tree-ssa/pr23848-1.c: Likewise. * gcc.dg/tree-ssa/pr23848-3.c: Likewise. * gcc.dg/tree-ssa/20030807-2.c: Likewise. * gcc.dg/pr59011.c: Likewise. * gcc.dg/uninit-9.c: Likewise. * gcc.dg/pr61561.c: Likewise. * gcc.dg/vla-4.c: Likewise. * gcc.dg/20101010-1.c: Likewise. * gcc.dg/pr49120.c: Likewise. * gcc.dg/20030331-2.c: Likewise. * gcc.dg/compat/struct-by-value-22_main.c: Likewise. * gcc.dg/pr25682.c: Likewise. * gcc.dg/guality/guality.c: Likewise. * gcc.dg/pr27301.c: Likewise. * gcc.dg/uninit-9-O0.c: Likewise. * gcc.dg/fold-alloca-1.c: Likewise. * gcc.dg/pr41470.c: Likewise. * gcc.dg/pr51491-2.c: Likewise. * gcc.dg/winline-7.c: Likewise. * gcc.dg/vla-2.c: Likewise. * gcc.dg/pr50764.c: Likewise. * gcc.dg/c99-vla-1.c: Likewise. * gcc.dg/pr33238.c: Likewise. * gcc.dg/c99-const-expr-13.c: Likewise. * gcc.dg/builtin-return-1.c: Likewise. * gcc.dg/vla-3.c: Likewise. * gcc.dg/20020415-1.c: Likewise. * gcc.dg/Wsizeof-pointer-memaccess1.c: Likewise. * gcc.dg/shrink-wrap-alloca.c: Likewise. * gcc.dg/Wstrict-aliasing-bogus-vla-1.c: Likewise. * gcc.dg/torture/calleesave-sse.c: Likewise. * gcc.dg/torture/Wsizeof-pointer-memaccess1.c: Likewise. * gcc.dg/gomp/vla-2.c: Likewise. * gcc.dg/gomp/vla-3.c: Likewise. * gcc.dg/gomp/vla-4.c: Likewise. * gcc.dg/gomp/pr30494.c: Likewise. * gcc.dg/gomp/vla-5.c: Likewise. * gcc.dg/pr51990-2.c: Likewise. * gcc.dg/vla-22.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227097 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-vla-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-vla-1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-vla-1.c b/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-vla-1.c
index e9f63d36872..87f5ef9d171 100644
--- a/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-vla-1.c
+++ b/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-vla-1.c
@@ -1,6 +1,7 @@
/* PR 41673: bogus -Wstrict-aliasing warning from VLA dereference. */
/* { dg-do compile } */
/* { dg-options "-std=gnu99 -O2 -Wall" } */
+/* { dg-require-effective-target alloca } */
int main(int argc, char *argv[])
{