From 74e8090cbbb5ea0551c7c56e9beba85491b27875 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 15 Feb 2018 13:05:57 +0000 Subject: [PATCH] [testsuite] Require et alloca for Wstringop-overflow-3.c 2018-02-15 Tom de Vries * gcc.dg/Wstringop-overflow-3.c: Require effective target alloca. From-SVN: r257687 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/Wstringop-overflow-3.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6f8326666ec..3d6da2a9ca4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-02-15 Tom de Vries + + * gcc.dg/Wstringop-overflow-3.c: Require effective target alloca. + 2018-02-15 Tom de Vries * gcc.c-torture/compile/pr84136.c: Require effective target diff --git a/gcc/testsuite/gcc.dg/Wstringop-overflow-3.c b/gcc/testsuite/gcc.dg/Wstringop-overflow-3.c index 590184461a9..6c8cbf3898e 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; -- 2.30.2