[testsuite] Add missing require-effective-target alloca
authorTom de Vries <tdevries@suse.de>
Fri, 25 Sep 2020 06:42:10 +0000 (08:42 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 25 Sep 2020 07:06:16 +0000 (09:06 +0200)
Add missing require-effect-target alloca directives.

Tested on nvptx.

gcc/testsuite/ChangeLog:

2020-09-25  Tom de Vries  <tdevries@suse.de>

* gcc.dg/analyzer/pr93355-localealias.c: Require effective target
alloca.

gcc/testsuite/gcc.dg/analyzer/pr93355-localealias.c

index a5cb0d56e70dc296a070a91d6e45664173c1c686..043e45f828ebf16217795b1808838ed725c23278 100644 (file)
@@ -5,6 +5,7 @@
 /* { dg-do "compile" } */
 /* { dg-additional-options "-Wno-analyzer-too-complex -fno-analyzer-feasibility" } */
 /* TODO: remove the need for these options.  */
+/* { dg-require-effective-target alloca } */
 
 /* Handle aliases for locale names.
    Copyright (C) 1995-1999, 2000-2001, 2003 Free Software Foundation, Inc.