[testsuite] Add missing require-effective-target allloca
authorTom de Vries <tdevries@suse.de>
Thu, 10 Sep 2020 11:18:50 +0000 (13:18 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 10 Sep 2020 11:57:48 +0000 (13:57 +0200)
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

index 0488ff282a4d5a1dde023323828dfdea4d32cb15..e5971c835fa913b6ec54bed1cffec7d9cc1a5d68 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-require-effective-target alloca } */
 #include "analyzer-decls.h"
 
 void test_1 (int n)