From d41f8429e9e1b21d862c9a934b129739a3408c79 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 10 Sep 2020 13:18:50 +0200 Subject: [PATCH] [testsuite] Add missing require-effective-target allloca Add a missing require-effect-target alloca directive. Tested on nvptx. gcc/testsuite/ChangeLog: * gcc.dg/analyzer/vla-1.c: Add require-effective-target alloca. --- gcc/testsuite/gcc.dg/analyzer/vla-1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/analyzer/vla-1.c b/gcc/testsuite/gcc.dg/analyzer/vla-1.c index 0488ff282a4..e5971c835fa 100644 --- a/gcc/testsuite/gcc.dg/analyzer/vla-1.c +++ b/gcc/testsuite/gcc.dg/analyzer/vla-1.c @@ -1,3 +1,4 @@ +/* { dg-require-effective-target alloca } */ #include "analyzer-decls.h" void test_1 (int n) -- 2.30.2