Hi,

this patch requires effective target alloca for test-case Wstringop-overflow-3.c.

Committed.

Thanks,
- Tom
[testsuite] Require et alloca for Wstringop-overflow-3.c

2018-02-15  Tom de Vries  <t...@codesourcery.com>

	* gcc.dg/Wstringop-overflow-3.c: Require effective target alloca.

---
 gcc/testsuite/gcc.dg/Wstringop-overflow-3.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/Wstringop-overflow-3.c b/gcc/testsuite/gcc.dg/Wstringop-overflow-3.c
index 5901844..6c8cbf3 100644
--- a/gcc/testsuite/gcc.dg/Wstringop-overflow-3.c
+++ b/gcc/testsuite/gcc.dg/Wstringop-overflow-3.c
@@ -1,6 +1,7 @@
 /* PR tree-optimization/84238 */
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
+/* { dg-require-effective-target alloca } */
 
 char a[1];
 int b;

Reply via email to